glow icon indicating copy to clipboard operation
glow copied to clipboard

Support AsciiDoc?

Open tadayosi opened this issue 4 years ago • 7 comments

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

tadayosi avatar Feb 04 '21 05:02 tadayosi

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

keblek avatar Mar 12 '21 15:03 keblek

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.

boydkelly avatar Apr 25 '21 08:04 boydkelly

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.

ubiquitousthey avatar Jul 29 '22 14:07 ubiquitousthey

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

dhutty-numo avatar Aug 18 '22 19:08 dhutty-numo

Another request to support AsciiDoc. :)

skatkov avatar Oct 12 '22 14:10 skatkov

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?

dezren39 avatar Mar 05 '24 16:03 dezren39

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

randybb avatar Apr 27 '24 08:04 randybb