Login  Register

Customize CSS in Asciidoctor JS

Posted by gquintana on May 08, 2019; 9:06pm
URL: https://discuss.asciidoctor.org/Customize-CSS-in-Asciidoctor-JS-tp6901.html

Hello,

I am using Asciidoctor JS edition, I'd like to tweak a few CSS.
I've read https://asciidoctor-docs.netlify.com/asciidoctor.js/extend/stylesheets/
but I'd like to avoid creating a whole new template.

As I'am also using asciidoc reveal JS, which has a handy :customcss: my-css.css property,
https://asciidoctor.org/docs/asciidoctor-revealjs/#using-asciidoc-roles
I am wondering is there something similar in classic asciidoctor implementation?
I just want to add something like:
<link rel="stylesheet" href="./my-css.css">
to  HTML header.

Is it possible?