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

done todo at the latex code block function #41552

Merged
merged 2 commits into from
Jul 21, 2021

Conversation

p1scescom
Copy link
Contributor

This is the process of replacing Markdown code blocks with LaTeX's verbatim environment.
In this comment, it is assumed that escaping of LaTeX special characters is required to replace the verbatim environment, but in fact, no escaping is required.
However, if the string \end{verbatim} appears in the code, the verbatim environment is terminated, and inconsistent LaTeX code is output.
So, I added an error message if \end{verbatim} is included.

@fredrikekre
Copy link
Member

Can you add a test?

@p1scescom
Copy link
Contributor Author

p1scescom commented Jul 16, 2021

@fredrikekre Thank you for your advice. I have added a test for this fix.

@vtjnash vtjnash merged commit 74b14aa into JuliaLang:master Jul 21, 2021
@p1scescom p1scescom deleted the mdlatexcode branch July 24, 2021 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants