mystmd icon indicating copy to clipboard operation
mystmd copied to clipboard

:1234: Support for scientific notation and decimal numbers in `si` role

Open jan-david-fischbach opened this issue 2 years ago • 4 comments
trafficstars

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

jan-david-fischbach avatar Sep 05 '23 09:09 jan-david-fischbach

@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.

agoose77 avatar Jan 10 '24 11:01 agoose77

@fwkoch thinking of trying to unblock things, is this PR now good to go?

agoose77 avatar Mar 18 '24 17:03 agoose77

@rowanc1 we should do something about this. Is there a reason to consider it blocked, or is it mergeable?

agoose77 avatar Jun 24 '24 09:06 agoose77