Markdown - Automatic Link Syntax not Working
-
burnout426 Volunteer last edited by
If I type <http://example.com/ > (had to put a space before the > or it'd show literally as part of the link) in the post editor, in the source of the page, it should produce <a href="http://example.com/ >http://example.com/ </a>
This doesn't seem to be working. <link_address> produces nothing. Further, I can't use raw < and > in code blocks either. The starting < just eats everything in the code block.
In short, it was crazy even trying to convey what I wanted in this post as markdown isn't being handled properly and I couldn't even use < and > in a code block.
-
A Former User last edited by
Hmm...
[http://thedndsanctuary.eu](The DnD Sanctuary)
[http://thedndsanctuary.eu]("The DnD Sanctuary")
http://thedndsanctuary.eu -
burnout426 Volunteer last edited by
Also, when the forums try to linkify a plain text link, "(" and ")" in the link must be escaped with a backslash or you get:
http://www.example.com/some file ( M2 ).mhtml
However, reddit's markdown handling doesn't require you to do that. Neither does stackoverflow's. They know the( and ) in this case are part of the URL, especially since there's no use of the []() syntax in this case.
But, even with the []() syntax, stackoverflow knows the ( and ) inside the URL itself are part of the URL and not a delimiter/opener/closer for the link syntax.
Stackoverflow's and Reddit's handling just seems to be more robust.
Stackoverflow uses the StackEdit editor that uses the pagedown markdown converter. They're both open source.