-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
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
Link contains subscript: md2html #8981
Labels
Comments
The cause is this code at l. 1815 of the Markdown reader: -- a reference label for a link
reference :: PandocMonad m => MarkdownParser m (F Inlines, Text)
reference = do
guardDisabled Ext_footnotes <|> notFollowedBy' (string "[^")
withRaw $ trimInlinesF <$> inlinesInBalancedBrackets This is to prevent
from being parsed as a link -- instead it is a footnote reference. There may be a less heavy-handed way of handling this. |
Workaround: add spaces
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pandoc version: 3.1.6
I'm trying to convert a markdown file to HTML.
The markdown file looks like this:
Using the following command:
The result was:
While, when I put
^
outside the link, it works properly:Seems like:
The text was updated successfully, but these errors were encountered: