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

Markdown / Latex / in-string expression parsing is extremely sensitive to spacing #945

Closed
jeremiahpslewis opened this issue Feb 24, 2021 · 2 comments

Comments

@jeremiahpslewis
Copy link
Contributor

jeremiahpslewis commented Feb 24, 2021

Thank you for this package, it is incredibly exciting and fun to use; it may be a little rough around the edges, but yet it is already fully functional. I keep on running into various little markdown / mathjax / in-string expression issues and wanted to flag this with a couple of reprex examples:

Reprex:

a = 1
md" $(a) $ \epsilon $ $(a)"

Screen Shot 2021-02-24 at 11 25 58

md"$(a) $\epsilon$ $(a)"

Screen Shot 2021-02-24 at 11 26 08

md" $(a) $\epsilon$ $(a)"

Screen Shot 2021-02-24 at 11 26 29

@fonsp
Copy link
Owner

fonsp commented Feb 24, 2021

Markdown is part of Julia itself, take a look at the existing issues and considering opening a new issue at https://github.com/JuliaLang/julia/issues?q=is%3Aopen+is%3Aissue+label%3Amarkdown

@fonsp fonsp closed this as completed Feb 24, 2021
@jeremiahpslewis
Copy link
Contributor Author

@fonsp Thanks for the heads up here, hard to tell within Pluto how much of the heavy lifting takes place within the library and how much within the base language. Given Pluto's unique heavy use of base markdown, especially with combinations of markdown & latex & interpolation, I wouldn't be surprised if similar issues pop up now and again, given the mysterious rules by which Julia seems to parse these strings. I've developed a PR to the main repo that documents some of this behavior, just so the status quo is explicit:

JuliaLang/julia#39817

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants