jonschlinkert / remarkable

Markdown parser, done right. Commonmark support, extensions, syntax plugins, high speed - all in one. Gulp and metalsmith plugins available. Used by Facebook, Docusaurus and many others! Use https://github.com/breakdance/breakdance for HTML-to-markdown conversion. Use https://github.com/jonschlinkert/markdown-toc to generate a table of contents.
https://jonschlinkert.github.io/remarkable/demo/
MIT License
5.74k stars 371 forks source link

Use plugins for URLs even when linkify=true #134

Open crunchtime-ali opened 9 years ago

crunchtime-ali commented 9 years ago

I'm using plugins for media embeds and would like to just parse the links without having to add something like embed:https://youtube/watch?v=.... This works only when linkify=false.

Is it possible to have linkify=true and still parse 'raw' links with plugins?

kelunik commented 9 years ago

If you parse those links yourself, you could just linkify them in the same step. Another solution would be to extend the currently used autolinker, but that autolinker isn't perfect anyway.

jonschlinkert commented 9 years ago

I think it needs to be easier to do this kind of customization. I'll try to think of a good way to do this

kelunik commented 9 years ago

Well, actually it's the same thing I requested in #117.