hexojs / hexo-renderer-markdown-it

Markdown-it is a Markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.
MIT License
340 stars 60 forks source link

Support for CommonMark reference links available? #208

Closed m1h43l closed 10 months ago

m1h43l commented 11 months ago

Does this plugin support CommonMark reference links? https://spec.commonmark.org/0.30/#reference-link

[Thread safety][thread-safety]  ....

[thread-safety] : https://en.wikipedia.org/wiki/Thread_safety
uiolee commented 10 months ago

I tested it and it is supported

图片

[Thread safety][thread-safety]  ....

-[thread-safety] : https://en.wikipedia.org/wiki/Thread_safety
+[thread-safety]: https://en.wikipedia.org/wiki/Thread_safety
m1h43l commented 10 months ago

I think I messed it up with the space between the closing bracket and the colon.

Thanks.