Login  Register

Re: Multiline admonitions

Posted by mojavelinux on Apr 21, 2020; 8:07am
URL: https://discuss.asciidoctor.org/Multiline-admonitions-tp7925p7926.html

If you want to use block content in an admonition, you need to use the delimited block form:

[NOTE]
====
block

content

here
====

see https://asciidoctor.org/docs/user-manual/#admonition for details.

Best Regards,

-Dan

On Tue, Apr 21, 2020 at 2:03 AM maydb [via Asciidoctor :: Discussion] <[hidden email]> wrote:
There are five admonition style labels:  NOTE, TIP, IMPORTANT, CAUTION, WARNING. Currently I only find line breaks to extend multiline abilility.

```
NOTE: Rubies are red, +
Topazes are blue.
```

I also want to include some code snippets into admonitions, is it possible to do that?



If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Multiline-admonitions-tp7925.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux