You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when I render markdown containing a link using the reference style, and then output that document as markdown, all square brackets get escaped.
The solution is to add an extra newline between the lines: references need to be in their own paragraph to be treated as such, otherwise it's read as part of the paragraph. Note that #to_commonmark will "normalise" the reference into a normal inline link.
I am not sure if this is an issue on commonmarker, or rather https://github.com/github/cmark-gfm/issues. Or maybe no issue at all. So any input is appreciated.
I noticed that when I render markdown containing a link using the reference style, and then output that document as markdown, all square brackets get escaped.
Example with a regular link
(the square brackets don't get escaped)
Example with a reference-style link
(the square brackets get escaped)
Is this the expected behavior?
The text was updated successfully, but these errors were encountered: