runarberg / mathup

Easy MathML authoring tool with a quick to write syntax
https://runarberg.github.io/mathup
MIT License
66 stars 10 forks source link

Implement command tokens and handlers in parser #79

Closed runarberg closed 1 year ago

runarberg commented 1 year ago

For now only font commands are commands, previously these were styles and implemented along with other prefixes. Now commands will become new binary prefix nodes in the AST which can apply special commands on the nodes below. For fonts this means to some text transforms or add style attributes. In the future we might implement color #40 and align #39 with command tokens.

Language Changes

Output Changes

Breaking Changes

Resolves: #70 Resolves: #77 Resolves: #78