___ _ _ ____ / | __________(_|_) __ \____ _ ____ __ / /| | / ___/ ___/ / / / / / __ \| |/_/ / / / / ___ |(__ ) /__/ / / /_/ / /_/ /> </ /_/ / /_/ |_/____/\___/_/_/_____/\____/_/|_|\__, / /____/
[ Home | What is AsciiDoxy? | Getting started | Reference documentation | Examples | Contributing | Changelog | GitHub ]
Stylesheets
AsciiDoctor allows you to provide a custom stylesheet to change the way the generated HTML looks. AsciiDoxy has its own stylesheets that enable additional functionality like multipage tables of contents and multipage navigation. In order to use your own custom stylesheet with AsciiDoxy, there are a few points of attention.
AsciiDoxy stylesheets
To use all functionality offered by AsciiDoxy, it is recommended to base your custom stylesheets on the AsciiDoxy stylesheets. Depending on the features used, AsciiDoxy uses the following stylesheet:
-
With a multipage TOC on the left: asciidoxy-toc-left.css.
-
With a multipage TOC on the right: asciidoxy-toc-right.css.
-
Without a multipage TOC: asciidoxy-no-toc.css.
Overriding the stylesheet
To override the stylesheet used by AsciiDoxy, provide the stylesheet
attribute on the command
line:
asciidoxy -a stylesheet=mystyle.css myfile.adoc