standardnotes / markdown-basic

[Moved to https://github.com/standardnotes/app] A basic Markdown editor for Standard Notes
https://standardnotes.com
GNU Affero General Public License v3.0
11 stars 12 forks source link

Automatically render raw links as anchors #2

Closed bnjbvr closed 6 years ago

bnjbvr commented 6 years ago

Hi! I just enabled an option that I find useful in the markdownit renderer: the capacity to automatically render raw links as anchors.

For instance, say you have in your md source something like go to https://standardnotes.org and click blahblah. With this option enabled, the rendered text will contain an anchor to the website, although there's no markdown code for the link.

What do you think about enabling this in general? It's pretty cheap, and it's proven quite useful to me.

moughxyz commented 6 years ago

Looks good, thanks!