-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to change color of admonition (block) title #561
Comments
It's not possible at the moment to style block titles (aka captions) individually. You can control all block titles using the top-level caption key:
Note that this will affect all block titles, including paragraphs, tables, examples, images, lists, listings, and, of course, admonitions. In the future, we'll probably need to add a subkey to each block type to control the caption individually. |
I was going to say that the caption isn't working, but then noticed that Atom has been putting extra spaces in my lines in the theme.yml file :-( Fixed that and it's working now. I can live with the caption option until more options are available. Thanks! |
This was almost solved by #307, but we missed the admonition category. I'll go ahead and extend that change to support admonition blocks as well. Keep in mind the caption for all admonition blocks will share the same styles. In other words, it wouldn't be possible to set different properties per admonition type. |
… admonition blocks
… admonition blocks
When an admonition block has a title, the color of the title is green. I'd like to change to match our scheme. I see from https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#block that we can set the font-color, but assume that will make the entire block that color, when I only want to modify the title.
I tried:
and
Am I missing a syntax?
The text was updated successfully, but these errors were encountered: