Support for "wikilink" style links#18
Conversation
Since other markdown parsers disagree on how to translate a wikilink to a URL, and since there was already a spec saying Earmark isn't responsible for bad URLs, I simply pass the link text through directly.
This matches how `python-markdown` treats them and allows for easy manipulation in the AST, which is important wince we do no formatting of the link internally.
|
Great work thank you, I will merge this as soon as 1.5 is under dev |
|
What is the |
|
Hmm, actually this might be a good idea, because it would allow to reverse the code. But great you talked about this because I actually do not like the Let me give you some background information: Right now we have only two defined entries Eventually the decision is yours, if you want to add Concerning the class name, any particular reason why you put it there, maybe I'll leave it in there but I prefer the metadata approach. |
|
I agree it makes more sense in the metadata. I'll make the change. |
|
Great waiting for 1.5 now! |
(Migrated from pragdave/earmark#377)
This is commonly used in markdown based wikis (for example, Github's wiki).