<?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 Compost</title><link>/tags/shortcodes/</link><description>Recent content in Shortcodes on Compost</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 11 Aug 2020 00:00:00 +0000</lastBuildDate><atom:link href="/tags/shortcodes/index.xml" rel="self" type="application/rss+xml"/><item><title>Shortcodes</title><link>/posts/shortcodes/</link><pubDate>Tue, 11 Aug 2020 00:00:00 +0000</pubDate><guid>/posts/shortcodes/</guid><description>&lt;p&gt;In addition to all the &lt;a&#10; href="https://gohugo.io/content-management/shortcodes"&#10; &#10; data-rel="prefetch"&#10; &#10; &#10;&gt;default Hugo shortcodes&lt;/a&gt;&#10;, Compost adds a few extras for additional functionality.&lt;/p&gt;&#10;&#10;&lt;h2 id="alert"&gt;Alert &lt;a class="heading-anchor" href="#alert" aria-hidden="true"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;alert&lt;/code&gt; outputs its contents as a stylised message box within your article. It&amp;rsquo;s useful for drawing attention to important information that you don&amp;rsquo;t want the reader to miss.&lt;/p&gt;&#10;&lt;p&gt;The input is written in Markdown so you can format it however you please.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-md" data-lang="md"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;{{&amp;lt; alert &amp;gt;}}&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="gs"&gt;**Warning!**&lt;/span&gt; This action is destructive!&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;{{&amp;lt; /alert &amp;gt;}}&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="flex rounded-md bg-yellow-100 px-4 py-3 dark:bg-yellow-900"&gt;&#10; &lt;span class="pe-3 text-yellow-400"&gt;&#10; &#10;&#10; &lt;span class="icon relative inline-block align-text-bottom"&gt;&#10; &lt;svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="exclamation-triangle" class="svg-inline--fa fa-exclamation-triangle fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"&gt;&lt;path fill="currentColor" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"&gt;&lt;/path&gt;&lt;/svg&gt;&#10; &lt;/span&gt;&#10;&#10;&#10; &lt;/span&gt;&#10; &lt;span class="not-prose dark:text-neutral-300"&gt;&lt;strong&gt;Warning!&lt;/strong&gt; This action is destructive!&lt;/span&gt;&#10;&lt;/div&gt;&#10;&#10;&#10;&lt;h2 id="badge"&gt;Badge &lt;a class="heading-anchor" href="#badge" aria-hidden="true"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;badge&lt;/code&gt; outputs a styled badge component which is useful for displaying metadata.&lt;/p&gt;</description></item><item><title>Rich Content</title><link>/posts/rich-content/</link><pubDate>Sun, 10 Mar 2019 00:00:00 +0000</pubDate><guid>/posts/rich-content/</guid><description>This is an &lt;em&gt;example&lt;/em&gt; of a &lt;strong&gt;rich&lt;/strong&gt; content summary.</description></item></channel></rss>