Math expressions
See original GitHub issueUsage of math expressions in Markdown text is quite common. I’ve found this PR chjj/marked#180 in marked
which brings this feature. Main issue with current implementation occurs in cases like this:
$ A_{i} + B_{i} $
That inner part of $
s must not be rendered as a normal piece of Markdown text. Actually, mentioned PR is not merged yet but I think supporting this expressions only needs exclusion of $
s content. For example, output of this simple case:
$ A_{i} $
Is completely compatible with MathJax
which renders that as its equivalent expression.
Issue Analytics
- State:
- Created 9 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Math Expressions | Pre-K-6 Common Core Math Curriculum
Math Expressions is a proven HMH Pre-K–6 common core curriculum that helps make sense of math by exploring and demonstrating understanding of key......
Read more >Expressions in Math - Definition, Types, Examples
Expressions in math are mathematical statements that have a minimum of two terms containing numbers or variables, or both, connected by an operator...
Read more >Expression in Maths – Definition with Examples - SplashLearn
An algebraic expression consists of unknown variables, numbers and arithmetic operators. It does not contain any equality or inequality symbols. Examples:.
Read more >Houghton Mifflin Harcourt: Math Expressions - Amazon.com
Math Expressions is rooted in inquiry-based instruction emphasizing concepts, fluency, and understanding through activities and discovery.
Read more >MATH EXPRESSions on Steam
About This Game. Can you guess the Math Expression in 6 tries? After each try you get notified if the digit is correct,...
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
Using
$
for inline expressions and$$
for expression blocks, is quite conventional. Because, these symbols are supported inLaTeX
writing. There is a discussion about those symbols in mentioned PR.In that PR, math expressions are treated as first class ones which use their special renderer. I think this is the correct way of math expression support, and I want it to be merged. But I think introducing a simple option for preventing lexer from analyzing inner text of
$
and$$
symbols, would do.I believe this issue is again there in mistune v2. Is there a way to avoid parsing markdown within
$
and$$
equation blocks?