mystmd
mystmd copied to clipboard
:1234: Support for scientific notation and decimal numbers in `si` role
So far the si role only supported integer numbers. With this PR it becomes possible to use decimal and scientific "e" notation. Additionally a negative sign "-" at the start is also accepted
@fwkoch I updated this PR as I thought it would be a good place to start looking at roles. Would you be happy to give this another review?
I haven't given much thought to what the renderer should do with this AST yet, e.g. use KaTeX to render the math text.
@fwkoch thinking of trying to unblock things, is this PR now good to go?
@rowanc1 we should do something about this. Is there a reason to consider it blocked, or is it mergeable?