Repository navigation
Help understanding this code #661
Answered
by
colinodell
designermonkey
asked this question in
Q&A
|
I need to make an extension that allows me to parse Mustache templating as referenced links. I just cannot figure out how this all works, especially for referenced links in the markdown spec. Can anyone explain how this is parsed? I need to parse the following so that the output in html is |
Answered by
colinodell
Oct 26, 2017
Replies: 1 comment
|
Sorry for the (extremely long) delay in answering this. References are parsed using the I'm going to close this out since it's been open for a while, but I hope this gives you a good starting point! |
0 replies
Answer selected by
colinodell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry for the (extremely long) delay in answering this.
References are parsed using the
OpenBrackerParserandCloseBracketParser- see https://github.com/thephpleague/commonmark/blob/master/src/Inline/Parser/CloseBracketParser.php#L187 for how we check whether there's a reference.I'm going to close this out since it's been open for a while, but I hope this gives you a good starting point!