asciidoctor / asciidoctor.org

:globe_with_meridians: Asciidoctor project site. Composed in AsciiDoc. Baked with Awestruct.
https://asciidoctor.org
Other
322 stars 808 forks source link

Hopefully accurate pointer to Roles and IDs #903

Closed dblevins closed 2 years ago

dblevins commented 4 years ago

Here's where I looked for ways to specify the CSS class or id in asciidoctor syntax. I was falsely confident that if it wasn't mentioned here it likely didn't exist.

In the end I'm using JBake and don't need the stylesheet factory. I made the note that the stylesheet factory wasn't necessary as I'm the kind of person who would learn it was necessary as this was preceded by instructions on how to set the stylesheet factory. (yes, it's super easy for me to take a wrong turn!! :) )

mojavelinux commented 2 years ago

Picking up on your cue, I added this information to the new Asciidoctor docs where I think it fits best (for now). See https://docs.asciidoctor.org/asciidoctor/latest/html-backend/default-stylesheet/#customize-targets

FYI, the stylesheet factory is dead. Long live extending the default stylesheet (or going at it on your own).