Commit graph

4 commits

Author SHA1 Message Date
Ilja
d9ffd99e4d Convert a tree to HTML + formatting + docs 2022-07-24 16:32:57 +02:00
Ilja
5f63b7e4bd Make it not crash when tag not properly ended
The following cases are now tested and fixed so they don't crash:
* Providing a "]" without there being a mfm token opened.
* Opening a tag without closing. E.g. "$[spin " and "$[spin chocolatine".
* Starting a tag without finishing it. E.g. "$[sp".
2022-07-24 10:28:29 +02:00
Ilja
5bb5620778 Make parser work for multiple token input
We can now handle multiple tokens and nesting.
2022-07-24 09:04:01 +02:00
Ilja
45519a3c2a Make parser work for single token input
We can handle all needed tokens.
We still need to test for multiple tokens and for nesting.
2022-07-24 07:55:55 +02:00