| layout | post | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| title | Blog Guide | ||||||||||||||
| gh-repo | LizardByte/LizardByte.github.io | ||||||||||||||
| gh-badge |
|
||||||||||||||
| readtime | true | ||||||||||||||
| tags | |||||||||||||||
| comments | false | ||||||||||||||
| simple-tabs-example |
|
||||||||||||||
| indexed-tabs-example |
|
You can use admonitions with the following syntax:
{% raw %}
{% include admonition.html type="important" body="This is information intended to draw attention." %}
{% endraw %}Optionally, a custom title can be added:
{% raw %}
{% include admonition.html type="hint" title="Custom Title" body="This is information intended to draw attention." %}
{% endraw %}Valid types of admonitions are:
attentioncautiondangererrorhintimportantnoteseealsotiptodowarning
{% include admonition.html type="attention" body="This is information intended to draw attention." %} {% include admonition.html type="caution" body="This is information intended to draw attention." %} {% include admonition.html type="danger" body="This is information intended to draw attention." %} {% include admonition.html type="error" body="This is information intended to draw attention." %} {% include admonition.html type="hint" body="This is information intended to draw attention." %} {% include admonition.html type="important" body="This is information intended to draw attention." %} {% include admonition.html type="note" body="This is information intended to draw attention." %} {% include admonition.html type="seealso" body="This is information intended to draw attention." %} {% include admonition.html type="tip" body="This is information intended to draw attention." %} {% include admonition.html type="todo" body="This is information intended to draw attention." %} {% include admonition.html type="warning" body="This is information intended to draw attention." %}
You can use simple tabs with the following syntax:
{% raw %}
{% include tabs.html tabs=page.simple-tabs-example %}
{% endraw %}The tabs object must have a name and content field. The content field should be a string when using simple tabs.
{% include tabs.html tabs=page.simple-tabs-example %}
You can use indexed tabs with the following syntax:
{% raw %}
{% include tabs.html tabs=page.indexed-tabs-examples index=0 %}
{% endraw %}The tabs object must have a name and content field.
The content field should be an array of strings when using indexed tabs.
{% include tabs.html tabs=page.indexed-tabs-example index=0 %}
{% include tabs.html tabs=page.indexed-tabs-example index=1 %}