asciidoctor / asciidoctor-vscode

AsciiDoc support for Visual Studio Code using Asciidoctor
Other
323 stars 97 forks source link

Pretty HTML #769

Closed cunka closed 10 months ago

cunka commented 11 months ago

Asciidoctor generates unformatted HTML.

It would be nice that a user can choose to run a HTML 'pretty' formatter on the generated HTML that is user set in the 'Preferences'.

ggrossetie commented 11 months ago

In my opinion, it would be better to keep this post-processing step outside of the VS code extension.

You can use any tool once you've exported to HTML. Alternatively, you can use an Asciidoctor Postprocessor extension: https://docs.asciidoctor.org/asciidoctor.js/latest/extend/extensions/postprocessor/

ggrossetie commented 10 months ago

I will close this issue since I believe this is out-of-scope (and will most likely be better handled by another extension)