hugo-theme-relearn/shortcodes/index.xml
2023-10-20 17:50:46 +00:00

159 lines
No EOL
14 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Shortcodes on Hugo Relearn Theme</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/index.html</link>
<description>Recent content in Shortcodes on Hugo Relearn Theme</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
<atom:link href="https://McShelby.github.io/hugo-theme-relearn/shortcodes/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Attachments</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/attachments/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/attachments/index.html</guid>
<description>The attachments shortcode displays a list of files attached to a page with adjustable color, title and icon.
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) Warning Since Hugo 0.112.0 this only works for leaf bundles. Branch bundles and simple pages must be switched to leaf bundles or you are currently locked to a Hugo version &amp;lt; 0.112.0.
Usage While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.</description>
</item>
<item>
<title>Badge</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/badge/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/badge/index.html</guid>
<description>The badge shortcode displays little markers in your text with adjustable color, title and icon.
Important Version6.6.6 Captain InfoNew Awesome
Usage While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.
&amp;#8203; shortcode partial {{% badge %}}Important{{% /badge %}} {{% badge style=&amp;#34;primary&amp;#34; title=&amp;#34;Version&amp;#34; %}}6.6.6{{% /badge %}} {{% badge style=&amp;#34;red&amp;#34; icon=&amp;#34;angle-double-up&amp;#34; %}}Captain{{% /badge %}} {{% badge style=&amp;#34;info&amp;#34; %}}New{{% /badge %}} {{% badge color=&amp;#34;fuchsia&amp;#34; icon=&amp;#34;fab fa-hackerrank&amp;#34; %}}Awesome{{% /badge %}} {{ partial &amp;#34;shortcodes/badge.</description>
</item>
<item>
<title>Button</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/button/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/button/index.html</guid>
<description>The button shortcode displays a clickable button with adjustable color, title and icon.
Get Hugo Get Hugo Usage While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.
&amp;#8203; shortcode partial {{% button href=&amp;#34;https://gohugo.io/&amp;#34; %}}Get Hugo{{% /button %}} {{% button href=&amp;#34;https://gohugo.io/&amp;#34; style=&amp;#34;warning&amp;#34; icon=&amp;#34;dragon&amp;#34; %}}Get Hugo{{% /button %}} {{ partial &amp;#34;shortcodes/button.html&amp;#34; (dict &amp;#34;page&amp;#34; . &amp;#34;href&amp;#34; &amp;#34;https://gohugo.io/&amp;#34; &amp;#34;content&amp;#34; &amp;#34;Get Hugo&amp;#34; )}} {{ partial &amp;#34;shortcodes/button.</description>
</item>
<item>
<title>Children</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/children/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/children/index.html</guid>
<description>The children shortcode lists the child pages of the current page and its descendants.
page X page 1 page 2 page 3 Usage While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.
&amp;#8203; shortcode partial {{% children sort=&amp;#34;weight&amp;#34; %}} {{ partial &amp;#34;shortcodes/children.html&amp;#34; (dict &amp;#34;page&amp;#34; . &amp;#34;sort&amp;#34; &amp;#34;weight&amp;#34; )}} Parameter Name Default Notes containerstyle ul Choose the style used to group all children.</description>
</item>
<item>
<title>Expand</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/expand/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/expand/index.html</guid>
<description>The expand shortcode displays an expandable/collapsible section of text.
Expand me&amp;hellip; Thank you!
That&amp;rsquo;s some text with a footnote1
That&amp;rsquo;s some more text with a footnote.2
And that&amp;rsquo;s the footnote.&amp;#160;&amp;#x21a9;&amp;#xfe0e;
Anything of interest goes here.
Blue light glows blue.&amp;#160;&amp;#x21a9;&amp;#xfe0e;
Note This only works in modern browsers flawlessly. While Internet Explorer 11 has issues in displaying it, the functionality still works.
Usage While the examples are using shortcodes with named parameter you are free to use positional as well or also call this shortcode from your own partials.</description>
</item>
<item>
<title>Highlight</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/highlight/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/highlight/index.html</guid>
<description>The highlight shortcode renders your code with a syntax highlighter.
&amp;#8203; python 1print(&amp;#34;Hello World!&amp;#34;) Usage This shortcode is fully compatible with Hugo&amp;rsquo;s highlight shortcode but offers some extensions.
It is called interchangeably in the same way as Hugo&amp;rsquo;s own shortcode providing positional parameter or by simply using codefences.
You are free to also call this shortcode from your own partials. In this case it resembles Hugo&amp;rsquo;s highlight function syntax if you call this shortcode as a partial using compatiblity syntax.</description>
</item>
<item>
<title>Icon</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/icon/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/icon/index.html</guid>
<description>The icon shortcode displays icons using the Font Awesome library.
Usage While the examples are using shortcodes with positional parameter you are free to also call this shortcode from your own partials.
&amp;#8203; shortcode shortcode (positional) partial {{% icon icon=&amp;#34;exclamation-triangle&amp;#34; %}} {{% icon icon=&amp;#34;angle-double-up&amp;#34; %}} {{% icon icon=&amp;#34;skull-crossbones&amp;#34; %}} {{% icon exclamation-triangle %}} {{% icon angle-double-up %}} {{% icon skull-crossbones %}} {{ partial &amp;#34;shortcodes/icon.html&amp;#34; (dict &amp;#34;page&amp;#34; . &amp;#34;icon&amp;#34; &amp;#34;exclamation-triangle&amp;#34; )}} {{ partial &amp;#34;shortcodes/icon.</description>
</item>
<item>
<title>Include</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/include/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/include/index.html</guid>
<description>The include shortcode includes other files from your project inside of the current page.
Usage While the examples are using shortcodes with named parameter you are free to use positional aswell or also call this shortcode from your own partials.
&amp;#8203; shortcode shortcode (positional) partial {{% include file=&amp;#34;shortcodes/INCLUDE_ME.md&amp;#34; %}} {{% include &amp;#34;shortcodes/INCLUDE_ME.md&amp;#34; %}} {{ partial &amp;#34;shortcodes/include .html&amp;#34; (dict &amp;#34;page&amp;#34; . &amp;#34;file&amp;#34; &amp;#34;shortcodes/INCLUDE_ME.md&amp;#34; )}} The included files can even contain Markdown and will be taken into account when generating the table of contents.</description>
</item>
<item>
<title>Math</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/math/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/math/index.html</guid>
<description>The math shortcode generates beautiful formatted math and chemical formulae using the MathJax library.
$$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$ Note This only works in modern browsers.
Usage While the examples are using shortcodes with named parameter it is recommended to use codefences instead. This is because more and more other software supports Math codefences (eg. GitHub) and so your markdown becomes more portable.</description>
</item>
<item>
<title>Mermaid</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/mermaid/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/mermaid/index.html</guid>
<description>The mermaid shortcode generates diagrams and flowcharts from text, in a similar manner as Markdown using the Mermaid library.
graph LR; If --&amp;gt; Then Then --&amp;gt; Else Note This only works in modern browsers.
Usage While the examples are using shortcodes with named parameter it is recommended to use codefences instead. This is because more and more other software supports Mermaid codefences (eg. GitHub) and so your markdown becomes more portable.</description>
</item>
<item>
<title>Notice</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/notice/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/notice/index.html</guid>
<description>The notice shortcode shows various types of disclaimers with adjustable color, title and icon to help you structure your page.
There may be pirates It is all about the boxes.
Usage While the examples are using shortcodes with named parameter you are free to use positional as well or also call this shortcode from your own partials.
&amp;#8203; shortcode shortcode (positional) partial {{% notice style=&amp;#34;primary&amp;#34; title=&amp;#34;There may be pirates&amp;#34; icon=&amp;#34;skull-crossbones&amp;#34; %}} It is all about the boxes.</description>
</item>
<item>
<title>OpenAPI</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/openapi/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/openapi/index.html</guid>
<description>The openapi shortcode uses the Swagger UI library to display your OpenAPI / Swagger specifications.
Note This only works in modern browsers.
Usage While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.
&amp;#8203; shortcode partial {{&amp;lt; openapi src=&amp;#34;https://petstore3.openapi.io/api/v3/openapi.json&amp;#34; &amp;gt;}} {{ partial &amp;#34;shortcodes/openapi.html&amp;#34; (dict &amp;#34;page&amp;#34; . &amp;#34;src&amp;#34; &amp;#34;https://petstore3.openapi.io/api/v3/openapi.json&amp;#34; )}} Parameter Name Default Notes src &amp;lt;empty&amp;gt; The URL to the OpenAPI specification file.</description>
</item>
<item>
<title>SiteParam</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/siteparam/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/siteparam/index.html</guid>
<description>The siteparam shortcode prints values of site params.
Usage While the examples are using shortcodes with named parameter you are free to use positional aswell or call this shortcode from your own partials.
&amp;#8203; shortcode shortcode (positional) partial {{% siteparam name=&amp;#34;editURL&amp;#34; %}} {{% siteparam &amp;#34;editURL&amp;#34; %}} {{ partial &amp;#34;shortcodes/siteparam.html&amp;#34; (dict &amp;#34;page&amp;#34; . &amp;#34;name&amp;#34; &amp;#34;editURL&amp;#34; )}} Parameter Name Position Default Notes name 1 &amp;lt;empty&amp;gt; The name of the site param to be displayed.</description>
</item>
<item>
<title>Tab</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/tab/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/tab/index.html</guid>
<description>You can use a tab shortcode to display a single tab.
This is especially useful if you want to flag your code example with an explicit language.
If you want multiple tabs grouped together you can wrap your tabs into the tabs shortcode.
&amp;#8203; c printf(&amp;#34;Hello World!&amp;#34;); Usage While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.
&amp;#8203; shortcode partial {{% tab title=&amp;#34;c&amp;#34; %}} ```c printf(&amp;#34;Hello World!</description>
</item>
<item>
<title>Tabs</title>
<link>https://McShelby.github.io/hugo-theme-relearn/shortcodes/tabs/index.html</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://McShelby.github.io/hugo-theme-relearn/shortcodes/tabs/index.html</guid>
<description>The tabs shortcode displays arbitrary content in an unlimited number of tabs.
This comes in handy eg. for providing code snippets for multiple languages.
If you just want a single tab you can instead call the tab shortcode standalone.
hello. py sh c print(&amp;#34;Hello World!&amp;#34;) echo &amp;#34;Hello World!&amp;#34; printf(&amp;#34;Hello World!&amp;#34;); Usage While the examples are using shortcodes with named parameter you are free to also call this shortcode from your own partials.</description>
</item>
</channel>
</rss>