Skip to content
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

Support for styling admonition separately? #2395

Closed
lirantal opened this issue Feb 19, 2023 · 1 comment
Closed

Support for styling admonition separately? #2395

lirantal opened this issue Feb 19, 2023 · 1 comment
Labels
Milestone

Comments

@lirantal
Copy link
Contributor

Hi, I'm new to Asciidoc and Asciidcotor so first off thanks for building this re-usable and helpful Docker image to get started really quick!

I was wondering whether we need to do anything to allow theme styling of admonition types differently?
Applied a theme layout such as:

admonition:
  background-color: #ffffff
  warning:
    background-color: #ff0000

As well as some other ways to define the per-admonition type style but nothing seems to work except the global admonition key that applies to all of them.

Is there something needed in order to enable this level of customization?

@lirantal
Copy link
Contributor Author

I actually found that it is a known issue with asciidoctor-pdf but has a workaround using a custom/extended converter. Documented here: #1685

@mojavelinux mojavelinux transferred this issue from asciidoctor/docker-asciidoctor Feb 19, 2023
@mojavelinux mojavelinux added this to the support milestone Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants