Repository navigation
CHANGELOG
theblackswitch edited this page Oct 31, 2026
·
8 revisions
- [BREAKING] Uugh fixed a spelling mistake. Renamed
InlineModifer->InlineModifier
- [BREAKING] The parser is now instance based. This means that you can construct multiple different parsers with different options without interference.
- The add zero width space characters option caused the charmap for inline syntax to be offset.
- The charmap inside table cells didn't align whatsoever.
- Charmap caching chached to much if an extended line's parent got re-parsed.
- Cache data didn't get cleared propperly when removing big chunks of text. This resulted in some text breefly appearing
- Inline syntax can now span across multiple lines in a single paragraph
- Html syntax can now span across multiple lines in a single paragraph and will remove any leading newline after it's tags
- Cached nodes didn't call the finish() method on multiline parsers
- Certain multilines didn't parse when there was an empty line after them
- Code would also parse when there where more than 2 backticks
- Code blocks dissapeared sometimes when the ending backticks contained an extra character
- The charmap now also includes a new
line_idx_mapwhich keeps track of the line index for each html character
- Codeblocks caused a weird offset in the charmap
- The charmap now also includes a new
line_mapwhich is similar to the absolute map but then split into their corresponding lines
- Color syntax now only parses when their color and text part contains atleast a single character
- code blocks are now only parsed when their last line is no more than ```
- Links are now only parsed when their text or link part contains atleast a single character
- Images are now only parsed when their source contains atleast a single character
- Added the "debug" option which will output debugging info to the console when parsing
- A very weird and obscure bug with caching causing some parts of the markdown file to dissapear
- Fixed the naming inside some debug messages
- new finish() method for the MultilineParser, it will fire once the node can't be extended anymore
- new static parse_ast() method for the MultilineParser which will parse a set of lines into an AST
- Block quotes didn't parse propperly when a node with higher priority generated first.
- Block quotes didn't parse propperly when no next line was present
- Fixed an issue where multiline nodes didn't get re-parsed when a line behind it changed
~ wiki by theblackswitch