charmbracelet / glow

Render markdown on the CLI, with pizzazz! 💅🏻
MIT License
16.01k stars 348 forks source link

Support AsciiDoc? #243

Closed tadayosi closed 2 months ago

tadayosi commented 3 years ago

This is a great tool and it would be even better if it could read AsciiDoc files as well. Thanks!

keblek commented 3 years ago

one work around for this is to use pandoc to convert to md

boydkelly commented 3 years ago

The workaround is awkward. Not advantageous to keep multiple versions of documents that can change at any point. And since Asciidoc is becoming a standard.... https://asciidoc-wg.eclipse.org/ It should be even more interesting to support, as opposed to all the html and other stuff added to markdown in its multiple flavours.

ubiquitousthey commented 2 years ago

I will second the request to support asciidoc. It is so much more powerful and standardized than MD. While this might mean it would be more difficult, I think it might mean a better experience. There are Ruby, Javascript, and Java implementations. I wouldn't be surprised to see a Go implementation being worked on somewhere.

dhutty-numo commented 2 years ago

Yes, there is a golang lib for asciidoc->html: https://github.com/bytesparadise/libasciidoc I would love to see support added to glow.

skatkov commented 1 year ago

Another request to support AsciiDoc. :)

dezren39 commented 7 months ago

it would be really great if asciidoc was supported, i could even see use in letting glow being able to quickly convert files/output between markdown, asciidoc, and html. Is glow built in a way such that different formats can be added matching a specific interface? I'm guessing would this require bigger changes in the structure of the project?

randybb commented 5 months ago

Native support for AsciiDoc would be great. I have been using ascidoc since 2009 for all my work related notes.

caarlos0 commented 2 months ago

I think we're gonna focus on markdown for now.

thanks for the issue, sorry for the delay