Closed kbarros closed 1 year ago
I don't see the connection between that link and Jupyters markdown syntax?
Anyway, this would simply require another regex here: https://github.com/fredrikekre/Literate.jl/blob/d59c8c16d45788a7231f6f5ddafb782a531939f5/src/Literate.jl#L184-L185. Do you want to make PR?
Thanks for the link. I will make a PR.
For future reference, this link discusses the Markdown allowed in a Jupyter notebook: https://nbformat.readthedocs.io/en/latest/markup.html#what-flavor-of-markdown-does-the-notebook-format-support
Most Jupyter Notebook interfaces use the marked.js JavaScript library for rendering markdown. This supports [CommonMark and GitHub flavored Markdown].
Both of these specifications seem to follow the guidelines in the Gruber link, e.g., allow direct inlining of HTML tags.
In the context of a
notebook
output, Literate has the helpful behavior that$$ \int f dx $$