I would like to know where I went wrong with my Markdown syntax. #83
Answered
by
toddLiao469469
sisyphusla
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
toddLiao469469
Oct 31, 2023
Replies: 1 comment 1 reply
-
Okay... without changing the code on how it analyzes the markdown syntax... eg. HaHa[^1][^2]Haha
Haha[^3]
[^1]: This is 1st note.
[^2]: This is 2nd note.
[^3]: This is 3rd note.
// ^--- extra space This should output the result that you are looking for. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think the root cause of this issue is the behavior of
marked
(markdown processor)For instance, if you write a footnote with just one space like this:
marked
will process[^1]
as a link.However, if you use two or more spaces:
marked
will process[^1]
as a paragraph. So QWER will process it into a footnote successfully.