Replace TeX escape sequences with unicode counterparts#487
Replace TeX escape sequences with unicode counterparts#487abhro wants to merge 1 commit intoJuliaMath:masterfrom abhro:docstring-unicode-katex
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #487 +/- ##
=======================================
Coverage 94.11% 94.11%
=======================================
Files 14 14
Lines 2905 2905
=======================================
Hits 2734 2734
Misses 171 171
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Do MathJaX and other renderers also support it? We also want it to work in things like Jupyter notebooks, vsCode, etcetera. Looks like it works in Jupyter and vsCode, at least. |
I don't think MathJaX supports it out of the box, in my experience, but you can use macros with Documenter to define them. Correction: I just tested this on Pluto, and it uses MathJaX and works fine. I think that's the benefit coming from Julia's Markdown.jl parser? Either way, I think it works on all platforms we've checked, but I'd be happy to test this on other platforms as needed! |
The default KaTeX renderer supports it, and it also clears up the docstrings when viewing in the REPL
The default KaTeX renderer supports it, and it also clears up the docstrings when viewing in the REPL