taizen
taizen copied to clipboard
Use the library Parse Wiki Text
Taizen currently parses wiki text in a naive way using regular expressions. Wiki text cannot be correctly parsed with regular expressions. I propose using Parse Wiki Text (crates.io, Github) to parse wiki text into a tree, and then formatting the output simply by walking the tree. See the readme of Parse Wiki Text for a description of the challenges of correctly parsing wiki text.
Parse Wiki Text is a lifesaver!
I will definitely get to work on this as soon as possible!
Thanks!
After taking ownership of this issue, I see that parse_wiki_text
was last released ~4 years ago. I don't think that bringing on more technical debt that is ~4 years old as a dependency is the best route forward at the moment. Currently looking into alternatives.