Enabling Asciimath
See original GitHub issueOne of the main things that would be super awesome would be to enable asciimath : http://asciimath.org/ as an alternative math input.
Since it looks like you’re using mathjax to render the math anyway (mathjax has asciimath built in), this would just involve using (perhaps) different delimiters for asciimath. So for example, somebody could type something like this:
$$
\begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}
$$
Or just type the equivalent asciimath (Which is usually much more pleasing for most equations)
$$+
[[1, 1], [0, 1]]
+$$
So I’d suggest, for inline:
$ math $ - latex
$+ math +$ - asciimath
And for display mode:
$$ math $$ - latex
$$+ math +$$ - asciimath
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:10 (5 by maintainers)
Top Results From Across the Web
AsciiMath Support — MathJax 3.2 documentation
The support for AsciiMath in MathJax involves two functions: the first looks for mathematics within your web page (indicated by delimiters like `...`...
Read more >AsciiMath Gem - Asciidoctor Docs
The AsciiMath gem translates AsciiMath expressions to MathML, which is something ... To enable AsciiMath to MathML translation when converting to DocBook, ...
Read more >AsciiMath
AsciiMath is an easy-to-write markup language for mathematics. ... This file contains JavaScript to convert AsciiMath notation and (some) LaTeX to ...
Read more >ASCIIMathML: Math on the web for everyone
Type this See that Comment
`sin^‑1(x)` sin ‑ 1 ( x ) function names are treated as constants
$f(x)=\sum_ ^\infty\frac(x‑a)^n$ standard LaTeX produces the same...
Read more >Ascii Math syntax for complex formulas - PlantUML
You can integrate mathematical expressions using AsciiMath format. Useful for demonstration or algorithm details.
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 Free
Top 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
Oh okay, well if you’re using katex; asciimath has a converter here
This converter can just convert asciimath to latex Theres a guide for it here.
I can try to give it a crack eventually, but I think you will be alot faster than me 😃
Asciimath is much simpler than latex/katex and covers the math typing done by the majority of users.