Shortcodes

A bunch of Shortcodes are available with this theme :

    alert

    The alert shortcode allows you to highlight information in your page.

    attachments

    The Attachments shortcode displays a list of files attached to a page.

    button

    Display an actionable button in your page.

    children

    List the child pages of a page

    excerpt

    The Excerpt shortcode is used to mark a part of a page's content for re-use.

    excerpt-include

    The Excerpt Include shortcode is used to display ’excerpted’ (that is, a segment of) content from one page in another. Before you can use this shortcode, the excerpt must have been defined using the Excerpt shortcode. Note that you can have more than one Excerpt Include shortcode on a page (although you can have only one Excerpt shortcode on a page). Usage Parameter Default Description filename required Type the filename of the page that contains the excerpt to be displayed.

    expand

    Displays an expandable/collapsible section of text on your page

    icon

    Display an icon.

    mermaid

    Flowchart example Show code ... {{}} graph LR; A[Hard edge] -->|Link text| B(Round edge) B --> C{Decision} C -->|One| D[Result one] C -->|Two| E[Result two] {{< /mermaid >}} graph LR; A[Hard edge] -->|Link text| B(Round edge) B --> C{Decision} C -->|One| D[Result one] C -->|Two| E[Result two] With sub-graphs and some style Show code... {{}} graph LR; X --> Y linkStyle 0 stroke:#f00,stroke-width:4px; Y --> Z Z --> X linkStyle 1,2 interpolate basis stroke:#0f0,stroke-width:2px; X --> A1 subgraph right A2 --> B2 B2 --> C2 end subgraph left A1 --> B1 B1 --> C1 end C1 --> X Z --> A2 C2 --> Z style Y fill:#f9f,stroke:#333,stroke-width:4px classDef left fill:#ccf,stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5 class A1,B1,C1 left {{< /mermaid >}} graph LR; X --> Y linkStyle 0 stroke:#f00,stroke-width:4px; Y --> Z Z --> X linkStyle 1,2 interpolate basis stroke:#0f0,stroke-width:2px; X --> A1 subgraph right A2 --> B2 B2 --> C2 end subgraph left A1 --> B1 B1 --> C1 end C1 --> X Z --> A2 C2 --> Z style Y fill:#f9f,stroke:#333,stroke-width:4px classDef left fill:#ccf,stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5 class A1,B1,C1 left Sequence example Show code .

    notice

    Disclaimers to help you structure your page

    panel

    Allow you to highlight information or put it in a box.

    revealjs

    present content as a reveal.js slide