Open Welding-Torch opened 2 months ago
It's not clear what the example is showing (not to me anyway, because "how bat
does here" assumes the reader knows what bat
is or does). But based on the subject of the issue, this would seem to be more or less a duplicate of #42 perhaps?
The request of the issue is a little more confusing because the above is showing raw markdown, whereas Frogmouth is an application that renders Markdown.
Sorry about the confusion. The bat
tool is an alternative to the cat
utility. I included a screenshot of bat
above to demonstrate what kind of syntax highlighting I'm looking for. What I mean is: Frogmouth can take inspiration from how bat
does syntax highlighting when it prints markdown files. The headings and links are colored. Can frogmouth get something like that?
My suggestion: Add a flag to frogmouth
that lets users pick from a selection of pre-defined themes. Eg: frogmouth -t nord
or frogmouth -t githubdark
. This will change the colors of the rendered markdown elements.
Learn more about bat
here: https://github.com/sharkdp/bat
So this is about displaying raw Markdown, it seems? Frogmouth isn't a tool for displaying raw Markdown.
You're misunderstanding. I'm just saying let's have different color schemes in Frogmouth.
So change the color of headings, bold, italics, hyperlinks, etc. through themes.
I see; the screenshots you posted were suggesting something else. In that case it looks like this would be served should #42 ever be implemented.
Add support for colorizing output like markdown elements. Like how![image](https://github.com/Textualize/frogmouth/assets/46340124/873d2b2c-b615-439b-b95a-7fdf1802ab60)
bat
does here: