ASCIIMath plugin and markdown delimiter/format discussion #572
-
Hi! I am developing a remark/rehype plugin for ASCIIMath and was wondering if there is any standard markdown way and what would be your recommendations for it. Context: ASCIIMath is very convenient for quickly typing maths in and is spiritually equivalent to markdown for Math. Like the requirements for Markdown+Latex, most Markdown+ASCIIMath documents will involve considerable amount of inlined math and need a convenient way to use it Now I will describe all the options I could research/come up with Option 1: Use a special delimiterNotable.app uses This is extremely convenient but takes up a new delimiter. Option 2: Support this using
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@meghprkh it sounds like you may be able to use Once it's parsed, you can do any additional preprocessing needed, and pass the values to asciimath. |
Beta Was this translation helpful? Give feedback.
@meghprkh it sounds like you may be able to use
remark-math
?Your example
$\`x/y\`$
for example already can be parsed byremark-math
.https://astexplorer.net/#/gist/cfadde5ebebb56064f0b5361c63971b5/25647671206d6f1aef205121c2b91bef8f5cf520
Once it's parsed, you can do any additional preprocessing needed, and pass the values to asciimath.