jrblevin / markdown-mode

Emacs Markdown Mode
http://jblevins.org/projects/markdown-mode/
GNU General Public License v3.0
875 stars 160 forks source link

[filelink](does not support spaces in filename) #800

Closed peteg closed 9 months ago

peteg commented 9 months ago

Expected Behavior

If I try to visit [filelink](filename with spaces in it) I'm taken to filename. Is this a bug or is there a syntax for making filenames atomic?

This is for markdown-mode 20230830.1338 on macOS 13/14.

syohex commented 9 months ago

[filelink](filename with spaces in it) means <a href="filename" title="with spaces in it">filelink</a>. You should enclose the link that contains space with angle brackets link [filelink](<filename with spaces in it>). However markdown-mode.el does not support its syntax, and I fixed the code at #801. How about it ?

peteg commented 9 months ago

thanks for the pointer @syohex.

syohex commented 9 months ago

I have merged #801. Please check latest version.