Skip to content
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

Compile error when using square brackets inside inline footnote #453

Closed
nopria opened this issue Jun 25, 2024 · 3 comments · Fixed by #456
Closed

Compile error when using square brackets inside inline footnote #453

nopria opened this issue Jun 25, 2024 · 3 comments · Fixed by #456
Assignees
Labels
bug lua Related to the Lua interface and implementation syntax extension Related to syntax extensions and dialects of markdown
Milestone

Comments

@nopria
Copy link

nopria commented Jun 25, 2024

The following MWE does NOT compile:

\documentclass{article}
\usepackage[hybrid, inlineNotes=true,eagerCache=true]{markdown}

\begin{document}
\begin{markdown}

# MWE square brackets in inline footnotes with markdown:

Example something outside inline footnote^[Example square backets inside [...] inline footnote.].

\end{markdown}
\end{document}

Similarly to recently fixed bug #447 it seems that inline footnote is not recognized due to the presence of square brackets inside it.

The above axample compiles regularly with markdown version 2.23.0.

@Witiko Witiko added bug lua Related to the Lua interface and implementation syntax extension Related to syntax extensions and dialects of markdown labels Jun 25, 2024
@Witiko Witiko added this to the 3.7.0 milestone Jun 25, 2024
@Witiko
Copy link
Owner

Witiko commented Jun 25, 2024

Hello again and thanks for the bug report. It appears that (inline) notes still have plenty edge cases to fix after Markdown 3.0.0.

@Witiko Witiko linked a pull request Jul 1, 2024 that will close this issue
Witiko added a commit to lostenderman/markdown that referenced this issue Jul 1, 2024
@Witiko
Copy link
Owner

Witiko commented Jul 1, 2024

The issue should be fixed in Markdown 3.7.0, to be released by the end of the month. Instructions for manual installation are the same as I described in #447 (comment). Sorry again and please, let me know if you spotted any more issues.

@nopria
Copy link
Author

nopria commented Jul 1, 2024

As soon as 3.7.0 is released I will test it on my big document which spotted the previous 2 bugs. Thanks you for fixing them.

@Witiko Witiko modified the milestones: 3.7.0, 3.6.2 Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug lua Related to the Lua interface and implementation syntax extension Related to syntax extensions and dialects of markdown
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants