Live data from Hacker News

Mathup: Easy MathML authoring tool with a quick to write syntax

mathup.xyz

1–10 of 38 posts

Re: Mathup: Easy MathML authoring tool with a quick to write syntax

#2
you know what we need even less than another json alternative? another math-language alternative. more so than any other formal(ish) language, a representation (for math) benefits from network effects (because math is both older and broader than any/every other such language).

Re: Mathup: Easy MathML authoring tool with a quick to write syntax

#3
I like this. It addresses a need for quickly writing math expressions with an intuitive syntax. I don’t have to write math expressions often enough to remember the more complex formatting from more powerful packages; and when I do use mathematical expressions, they are usually fairly simple. This will fill that niche.

Re: Mathup: Easy MathML authoring tool with a quick to write syntax

#4

I like this. It addresses a need for quickly writing math expressions with an intuitive syntax. I don’t have to write math expressions often enough to remember the more complex formatting from more powerful packages; and when I do use mathematical expressions, they are usually fairly simple. This will fill that niche.

Thank you. That is exactly why I wrote this. I wanted users to be able to write math in a markdown document, but did not expect any of them to know LaTeX.

Re: Mathup: Easy MathML authoring tool with a quick to write syntax

#5

you know what we need even less than another json alternative? another math-language alternative. more so than any other formal(ish) language, a representation (for math) benefits from network effects (because math is both older and broader than any/every other such language).

This is for authoring math expressions which compiles to MathML. MathML has the explicit design goal of being hard to write, and is much more meant to be a compiler target rather than for humans to write.

This space is pretty dominated by LaTeX whom almost all professionals use, but is pretty verbose and not exactly easy to use for beginners (or even non-frequent users). Other than LaTeX we have Office Math, which is a GUI, and AsciiMath. This tool is a dialect of AsciiMath[1] and builds on top of that. If you know AsciiMath, you know this. There is also UnicodeMathML[2], but that has another goal than this or AsciiMath, where the focus is on readability of authored expressions, rather than writability here.

1: https://asciimath.org/

2: https://github.com/doersino/UnicodeMathML

Re: Mathup: Easy MathML authoring tool with a quick to write syntax

#6
I absolutely love this project - for years I'd been using a homegrown s-exp to MathML translator, but your project is both more intuitive and capable.

mathup's tiny, clean API makes it easy to integrate the project in all sorts of processing workflows, both in-browser and scripting.

Re: Mathup: Easy MathML authoring tool with a quick to write syntax

#7
post #6

I absolutely love this project - for years I'd been using a homegrown s-exp to MathML translator, but your project is both more intuitive and capable. mathup's tiny, clean API makes it easy to integrate the project in all sorts of processing workflows, both in-browser and scripting.

Thank you. I’m glad you like it.

Re: Mathup: Easy MathML authoring tool with a quick to write syntax

#8
I love that this publishes the web component.

It's a great way to take content that's actually pretty humanly readable in the HTML, and translate it to an even better rendered format in the UI. It's good for progressive enhancement and framework support at the same time.

Re: Mathup: Easy MathML authoring tool with a quick to write syntax

#10

I love that this publishes the web component. It's a great way to take content that's actually pretty humanly readable in the HTML, and translate it to an even better rendered format in the UI. It's good for progressive enhancement and framework support at the same time.

Another nice thing about web components is that you can sniff the custom element registry (and even await a promised registration) for custom elements. I was writing a couple of markdown-it plugins yesterday[1][2] to render $dollar delimited math$ and simply places its content in either a or a [3] element depending on what is already in the custom element registry. Meaning if you want to write LaTeX rather than AsciiMath all you have to do is import the webcomponent before you call the markdown-it render.

1: https://github.com/runarberg/markdown-it-mathblock

2: https://github.com/runarberg/markdown-it-mathspan

3: https://github.com/runarberg/temml-custom-element

Post reply on HN