Re: Custom css via the API?
Posted by
mojavelinux on
Mar 17, 2021; 11:26pm
URL: https://discuss.asciidoctor.org/Custom-css-via-the-API-tp8568p8570.html
Abel is correct, the key in the attributes hash must be a string. So it should look like this:
attributes: {
'stylesheet' => 'path/to/my/stylesheet.css'
}
Alternately, you can use the shorthand form:
attributes: 'stylesheet=path/to/my/stylesheet.css'
Best Regards,
-Dan
--