Boxes and quotes
Note, tip and warning boxes, quotes with an author, infobox and spoiler
Note, tip and warning boxes
Five kinds of box, each with its own color. Use them sparingly: one or two per page.
| Box | Use it for |
|---|---|
NOTE |
Useful information |
TIP |
A suggestion that makes things easier |
IMPORTANT |
Something needed to succeed |
WARNING |
A risk to avoid, such as allergies or safety |
CAUTION |
Something that cannot be undone |
Note
The parish hall is free on Saturday afternoon.
Tip
Play it outside if the weather allows.
Important
Every child needs a signed consent form.
Warning
Check for allergies before handing out food.
Caution
Deleted photos cannot be recovered.
> [!NOTE]
> The parish hall is free on Saturday afternoon.
> [!TIP]
> Play it outside if the weather allows.
> [!IMPORTANT]
> Every child needs a signed consent form.
> [!WARNING]
> Check for allergies before handing out food.
> [!CAUTION]
> Deleted photos cannot be recovered.
NOTE: The parish hall is free on Saturday afternoon.
TIP: Play it outside if the weather allows.
IMPORTANT: Every child needs a signed consent form.
WARNING: Check for allergies before handing out food.
CAUTION: Deleted photos cannot be recovered.
<blockquote class="is-info"><p class="alert-title">Note</p><p>The parish hall is free on Saturday afternoon.</p></blockquote>
<blockquote class="is-success"><p class="alert-title">Tip</p><p>Play it outside if the weather allows.</p></blockquote>
<blockquote class="is-important"><p class="alert-title">Important</p><p>Every child needs a signed consent form.</p></blockquote>
<blockquote class="is-warning"><p class="alert-title">Warning</p><p>Check for allergies before handing out food.</p></blockquote>
<blockquote class="is-danger"><p class="alert-title">Caution</p><p>Deleted photos cannot be recovered.</p></blockquote>
Box with your own title
Write the title after the kind of box.
Rainy day version
Play the same game in the hall with a soft ball and half the teams.
> [!TIP] Rainy day version
> Play the same game in the hall with a soft ball and half the teams.
.Rainy day version
[TIP]
====
Play the same game in the hall with a soft ball and half the teams.
====
<blockquote class="is-success">
<p class="alert-title">Rainy day version</p>
<p>Play the same game in the hall with a soft ball and half the teams.</p>
</blockquote>
Quote with an author
For a Bible verse or the words of a saint. [name=...] on the first line adds the source.
Let the little children come to me, and do not stop them.
> [name=Mark 10:14]
> Let the little children come to me, and do not stop them.
[quote, Mark 10:14]
____
Let the little children come to me, and do not stop them.
____
<blockquote>
<p class="blockquote-author">Mark 10:14</p>
<p>Let the little children come to me, and do not stop them.</p>
</blockquote>
Infobox
A summary box on the side of the text, like an identity card. Good for a saint, a place or a project. Write one fact per line, as Name: value.
Born: 16 August 1815
Died: 31 January 1888
Feast day: 31 January
Known for: The Salesian oratories
Saint John Bosco opened the first oratory in Turin for the boys of the streets. The box sits beside this text on a wide screen and above it on a phone.
::block-infobox{name="Saint John Bosco" image="/files/don-bosco.jpg" imageCaption="Patron of young people"}
```yaml
Born: 16 August 1815
Died: 31 January 1888
Feast day: 31 January
Known for: The Salesian oratories
```
::
[block-infobox, name="Saint John Bosco", image="/files/don-bosco.jpg", imageCaption="Patron of young people"]
====
[source,yaml]
----
Born: 16 August 1815
Died: 31 January 1888
Feast day: 31 January
Known for: The Salesian oratories
----
====
<block-infobox name="Saint John Bosco" image="/files/don-bosco.jpg" imageCaption="Patron of young people">
<pre><code class="language-yaml">Born: 16 August 1815
Died: 31 January 1888
Feast day: 31 January
Known for: The Salesian oratories</code></pre>
</block-infobox>
Spoiler
Hides text until the reader clicks on it. Good for the answer of a quiz or riddle.
Riddle: I was a fisherman, and Jesus gave me the keys. Who am I?
**Riddle:** I was a fisherman, and Jesus gave me the keys. Who am I?
::block-spoiler{label="The answer" hint="Click to show it"}
Saint Peter.
::
*Riddle:* I was a fisherman, and Jesus gave me the keys. Who am I?
[block-spoiler, label="The answer", hint="Click to show it"]
====
Saint Peter.
====
<p><strong>Riddle:</strong> I was a fisherman, and Jesus gave me the keys. Who am I?</p>
<block-spoiler label="The answer" hint="Click to show it">
<p>Saint Peter.</p>
</block-spoiler>