taizen icon indicating copy to clipboard operation
taizen copied to clipboard

Use the library Parse Wiki Text

Open ghost opened this issue 6 years ago • 1 comments

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.

ghost avatar Nov 01 '18 08:11 ghost

Parse Wiki Text is a lifesaver!
I will definitely get to work on this as soon as possible!

Thanks!

oppiliappan avatar Nov 05 '18 07:11 oppiliappan

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.

ChristopherBilg avatar May 30 '23 01:05 ChristopherBilg