question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enabling Asciimath

See original GitHub issue

One 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:open
  • Created 5 years ago
  • Reactions:4
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
saivancommented, Apr 18, 2018

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 😃

0reactions
buelbrcommented, Aug 6, 2019

Asciimath is much simpler than latex/katex and covers the math typing done by the majority of users.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found