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

Customise a block according to its type #2500

Closed
gemkod opened this issue Mar 5, 2024 · 1 comment
Closed

Customise a block according to its type #2500

gemkod opened this issue Mar 5, 2024 · 1 comment
Labels

Comments

@gemkod
Copy link

gemkod commented Mar 5, 2024

Hello,

Wouldn't it be possible to use a block by specifying the type name and formatting some basic properties (outline, background colour, etc.)?

Here's an example of what I'm trying to do :

image

I use anonymous blocks so that I can easily change the name of the block if something changes.

I have read topics #483 and #1486 as well as https://docs.asciidoctor.org/pdf-converter/latest/extend/use-cases/#theme-admonition-per-type.

I think I've understood that it's possible via an extension to add other admonition blocks but nothing related to what I want to do.

Perhaps I'm on the wrong way or misusing Asciidoc / Asciidoctor-pdf.

Thank you very much for your feedback. Asciidoc is so wonderful!

@mojavelinux
Copy link
Member

As the issue template requests, please ask questions in the project chat. I'd be happy to answer your question there.

See https://docs.asciidoctor.org/about/get-help/#issue-tracker for our policy about how the issue tracker should be used.

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

2 participants