Support for writing / rendering math equations
See original GitHub issueIt would be nice to support math equations embedded in text. Imagine the cool diagrams you can draw with labels using this support to illustrate geometry and physics problems.
One way to implement this would be to integrate LaTeX math mode in text. For example, $d = \sqrt{x^2 + y^2}$
would show up as .
Potential challenges:
- Can this be done in a lightweight manner?
- How difficult would it be to support artistic rendering in this mode?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:22
- Comments:21 (7 by maintainers)
Top Results From Across the Web
How to write and render LaTeX math formulas on Medium
In this article we list some methods to write and visualize math formulas on Medium: LaTeX to image, unicode conversion, browser addons, etc....
Read more >Render mathematical expressions in Markdown
You can now use LaTeX style syntax to render math expressions within Markdown inline (using $ delimiters) or in blocks (using $$ delimiters)....
Read more >MathJax | Beautiful math in all browsers.
High-quality display of mathematics notation in all browsers. · No special browser setup required. · Support for LaTeX, MathML, and other equation markup...
Read more >Writing Equations - Ulysses Help
A well-known way of writing mathematical equations is with LaTeX. This document preparation system uses markup tags, much in the same way as...
Read more >VS Code Math to Image: Write LaTeX Math Equations in ...
Although GitHub won't render math equations in Markdown files, they actually DO render LaTeX inside Jupyter notebooks. How? Well, GitHub has ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@DanielJGeiger 's PR works wonderfully; I’ve just extracted all equations from a chapter of lecture slides and imported them – worked a charm.
Unlike SVG images, these can be edited directly in place. I’m planning to create a “library” of equations for each chapter and give that to the students, with the suggestion that they make their own whiteboard “mindmap” organising the course content.
In case anyone else is interested, here’s the workflow I used:
de-macro
on the original latex file, to replace all custom commands (\newcommand
and\def
) with their definitionpandoc
with a custom lua filter to extract all equations from the latex fileThe bounding boxes aren’t correct until one double-clicks an equation, but that’s a trivial enough step to do manually