Shorrrtcodes on Documentat'n fer Cap'n Hugo Relearrrn Themehttps://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/Recent content in Shorrrtcodes on Documentat'n fer Cap'n Hugo Relearrrn ThemeHugo -- gohugo.ioenChildrenhttps://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/children/Mon, 01 Jan 0001 00:00:00 +0000https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/children/Use th' children shorrrtcode t' list th' child planks o' a plank an' th' further descendants (children’s children). By default, th' shorrrtcode displays links t' th' child planks. Usage Parameter Default Descript'n plank current Specify th' plank name (section name) t' display children fer containerstyle “ul” Choose th' style used t' group all children. It could be any HTML tag name style “li” Choose th' style used t' display each descendant.Attachmentshttps://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/attachments/Mon, 01 Jan 0001 00:00:00 +0000https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/attachments/Attachments NoTreasure.txt (26 B) Th' Attachments shorrrtcode displays a list o' files attached t' a plank. Attachments adivorciarsetoca00cape.pdf (361 KB) BachGavotteShort.mp3 (357 KB) Carroll_AliceAuPaysDesMerveilles.pdf (175 KB) hugo.png (17 KB) hugo.txt (20 B) movieselectricsheep-flock-244-32500-2.mp4 (340 KB) Usage Th' shortcurt lists files found 'n a specific folder. Currently, it support two implementat'ns fer planks If yer plank be a Marrrkdown file, attachements must be placed 'n a folder named like yer plank an' end'n wit' .Buttonhttps://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/button/Mon, 01 Jan 0001 00:00:00 +0000https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/button/ A button be a just a click'ble button wit' optional ay'con. {{% button href="https://gohugo.io/" %}}Get Hugo{{% /button %}} {{% button href="https://gohugo.io/" icon="fas fa-download" %}}Get Cap'n Hugo wit' icon{{% /button %}} {{% button href="https://gohugo.io/" icon="fas fa-download" ay'con-position="right" %}}Get Cap'n Hugo wit' ay'con right{{% /button %}} Get Cap'n Hugo Get Cap'n Hugo wit' ay'con Get Cap'n Hugo wit' ay'con rightExpandhttps://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/expand/Mon, 01 Jan 0001 00:00:00 +0000https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/expand/Th' Expand shorrrtcode displays an expandable/collaps'ble section o' text on yer plank. Usage {{% expand "Does this Relearrrn theme rock?" { "true" | "false" } %}} Yes! {{% /expand %}} Th' first optional parameter defines th' text that appears next t' th' expand/collapse ay'con. Th' default text be "Expand me...". Th' second optional parameter controls if th' block be initially shown as expanded ("true") or collapsed ("false"). Th' default ist "false".Includehttps://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/include/Mon, 01 Jan 0001 00:00:00 +0000https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/include/Th' include shorrrtcode includes other files from yer project inside o' th' current file. This can even contain Marrrkdown an' will be taken into account when generat'n th' t'ble o' contents. Usage {{% include "<file>" { "true" | "false" } %}} Th' first parameter be th' path t' th' file t' be included. If th' file’s rambl'n will be displayed as HTML, th' second optional parameter controls if th' first head'n o' th' included file should be displayed (“true”)- which be th' default - or be hidden.Merrrmaidhttps://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/mermaid/Mon, 01 Jan 0001 00:00:00 +0000https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/mermaid/Merrrmaid be a library help'n ye t' generate diagram an' flowcharts from text, 'n a similar manner as Marrrkdown. Usage Just insert yer Merrrmaid code 'n th' mermaid shorrrtcode like this: {{< mermaid [ align=(left|right|center|justify) ] >}} classDiagram Person *-- Dog {{< /mermaid >}} Ye can set an optional align attribute which defaults t' center. If ye don’t need alignment ye can use th' alternative rules us'n code fences if ye have turned off guessSyntax fer th' marrrkup.Noticehttps://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/notice/Mon, 01 Jan 0001 00:00:00 +0000https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/notice/Th' notice shorrrtcode shows four types o' disclaimers t' help ye structure yer plank. Usage {{% notice [ note | info | tip | warning ] %}} Some marrrkup {{% /notice %}} Examples Avast AvastA notice disclaimer Ye can add: multiple paragraphs bullet point lists emphasized, bold an' even bold emphasized text links other shorrrtcodes besides notice etc. ...and even source code th' possiblities be endlessShip paramhttps://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/siteparam/Mon, 01 Jan 0001 00:00:00 +0000https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/siteparam/siteparam shorrrtcode be used t' help ye print values o' ship params. For instance, 'n this current ship, th' editURL vari'ble be used 'n config.toml [params] editURL = "https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/" Use th' siteparam shorrrtcode t' display its value. `editURL` Value : {{% siteparam "editURL" %}} be displayed as editURL Value : https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/Tabbed viewshttps://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/tabs/Mon, 01 Jan 0001 00:00:00 +0000https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/tabs/Choose which rambl'n t' see across th' plank. Very handy fer provid'n code snippets fer multiple languages or provid'n configurat'n 'n different formats. Code example {{< tabs >}} {{% tab name="python" %}} ```python print("Hello World!") ``` {{% /tab %}} {{% tab name="R" %}} ```R > print("Hello World!") ``` {{% /tab %}} {{% tab name="Bash" %}} ```Bash echo "Hello World!" ``` {{% /tab %}} {{< /tabs >}} Renders as: python R Bash print("Hello World!