We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Information:
Description
Markdown footnotes are incorrectly recognized as URL references, e.g., the text [^1]: This in the example below:
[^1]: This
A footnote[^1]. [^1]: This is a footnote and not a URL.
I think the regex here needs to be enhanced:
prism/components/prism-markdown.js
Lines 150 to 154 in 59e5a34
Example
https://prismjs.com/test.html#language=markdown&text=A%20footnote%5B%5E1%5D.%0A%0A%5B%5E1%5D%3A%20This%20is%20a%20footnote%20and%20not%20a%20URL.
The text was updated successfully, but these errors were encountered:
Do not treat [^id] as URL references
990274b
Fix PrismJS#3663.
Successfully merging a pull request may close this issue.
Information:
Description
Markdown footnotes are incorrectly recognized as URL references, e.g., the text
[^1]: This
in the example below:I think the regex here needs to be enhanced:
prism/components/prism-markdown.js
Lines 150 to 154 in 59e5a34
Example
https://prismjs.com/test.html#language=markdown&text=A%20footnote%5B%5E1%5D.%0A%0A%5B%5E1%5D%3A%20This%20is%20a%20footnote%20and%20not%20a%20URL.
The text was updated successfully, but these errors were encountered: