Re: Multiline admonitions
Posted by
msc on
Apr 21, 2020; 3:50pm
URL: https://discuss.asciidoctor.org/Multiline-admonitions-tp7925p7935.html
> On Apr 21, 2020, at 1:03, 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?
>
Multilines and paragraphs are possible:
[NOTE]
====
Whatever content you want.
A second paragraph.
And a third.
====
I expect you can put a code snippet inside too, though I have not tried it.
Regards
-Mark