"Clean" text output?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
aks
Reply | Threaded
Open this post in threaded view
|

"Clean" text output?

aks
This may seem trivial, but I don't see how to use asciidoctor to create processed and plain-text formatted output.

I'm using this for now:

    asciidoctor -o - INPUTFILE | html2txt -style pretty

The benefit is that the output text file has had the numbered sections and outlines rendered, along with any tables, into a prettier format. It's not too far from man format without the strictly required man page sections.

Is there a way to do this entirely with asciidoctor?