Skip to content

Docu about Customize HTML output? #481

Answered by ggrossetie
wh81752 asked this question in Q&A
Discussion options

You must be logged in to vote

You have basically two levels of customization:

  • Using a custom stylesheet with the stylesheet attribute
  • Using a custom layout

When using a custom stylesheet, you will probably need to inspect the HTML produced by the built-in converter to understand how to customize it. I recommend to use the --preview option when working on a new design. See: #441

If you want to go deeper then you can provide a custom layout. You can read https://github.com/Mogztter/asciidoctor-web-pdf#custom-layout which briefly explains how to extend the built-in converter.
As mentioned in the README you will need JavaScript knowledge and you will also need to understand how Asciidoctor works (i.e., it creates an AST…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wh81752
Comment options

Answer selected by wh81752
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants