atom / markdown-preview

📝 Markdown preview in Atom
MIT License
1.23k stars 358 forks source link

Parentheses within a link breaks the display of the link (and the path) #137

Open FelixSotera opened 10 years ago

FelixSotera commented 10 years ago

If a link's path contains parentheses, markdown preview considers the first closing parentheses as the close of the link's path.

Create a markdown file with the text below, and use markdown-preview to view the page to see the issue:

[A Name For the Link](http://somepath/more/(this_part_wont_work).EXTENSION)
ujjwalwahi commented 9 years ago

I was trying to fix this bug and found that markdown-preview depends on roaster module to parse markdown. And roaster further use marked module to parse markdown. See https://github.com/chjj/marked/issues/366 for marked's developer view on this

deepak1556 commented 9 years ago

https://github.com/jonschlinkert/remarkable supports it.