Render Markdown
Gaming4LifeDE opened this issue · 3 comments
Gaming4LifeDE commented
Is your feature request related to a problem? Please describe.
It would be cool if Geopard could render Markdown. Sure, gmi is the "native" syntax, but it also clearly states that alternatives can certainly be used. Markdown would allow gemini to be used for documentation with tables, code blocks and so on.
ranfdev commented
It would be nice, but it may require a solid amount of work. Don't expect it soon
Gaming4LifeDE commented
So i was thinking a bit. Maybe you can, instead of using a single TextView for everything, use a Stack instead which you can fill according to the tokens parsed (i.e. add a TreeView to the stack if you encounter a Markdown table)
Gaming4LifeDE commented
The rendering of tables and code blocks worries me but stuff like headings
shouldn't be too hard since you already implemented it for gmi. I really
wonder how you can switch between styles within a line though? (Think
making a word bold)