<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Formatting | Hugo Academic CV Theme</title><link>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/</link><atom:link href="https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/index.xml" rel="self" type="application/rss+xml"/><description>Formatting</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Tue, 24 Oct 2023 00:00:00 +0000</lastBuildDate><image><url>https://70dd5840.eleanor-godway-archive.pages.dev/media/icon_hu_982c5d63a71b2961.png</url><title>Formatting</title><link>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/</link></image><item><title>Embed Media</title><link>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/media/</link><pubDate>Tue, 24 Oct 2023 00:00:00 +0000</pubDate><guid>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/media/</guid><description>&lt;p>
is designed to give technical content creators a seamless experience. You can focus on the content and the Hugo Blox Builder which this template is built upon handles the rest.&lt;/p>
&lt;p>&lt;strong>Embed videos, podcasts, code, LaTeX math, and even test students!&lt;/strong>&lt;/p>
&lt;p>On this page, you&amp;rsquo;ll find some examples of the types of technical content that can be rendered with Hugo Blox.&lt;/p>
&lt;h2 id="video">Video&lt;/h2>
&lt;p>Teach your course by sharing videos with your students. Choose from one of the following approaches:&lt;/p>
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/D2vj0WcvH5c?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video">&lt;/iframe>
&lt;/div>
&lt;p>&lt;strong>Youtube&lt;/strong>:&lt;/p>
&lt;pre>&lt;code>{{&amp;lt; youtube w7Ft2ymGmfc &amp;gt;}}
&lt;/code>&lt;/pre>
&lt;p>&lt;strong>Bilibili&lt;/strong>:&lt;/p>
&lt;pre>&lt;code>{{&amp;lt; bilibili id=&amp;quot;BV1WV4y1r7DF&amp;quot; &amp;gt;}}
&lt;/code>&lt;/pre>
&lt;p>&lt;strong>Video file&lt;/strong>&lt;/p>
&lt;p>Videos may be added to a page by either placing them in your &lt;code>assets/media/&lt;/code> media library or in your
, and then embedding them with the &lt;em>video&lt;/em> shortcode:&lt;/p>
&lt;pre>&lt;code>{{&amp;lt; video src=&amp;quot;my_video.mp4&amp;quot; controls=&amp;quot;yes&amp;quot; &amp;gt;}}
&lt;/code>&lt;/pre>
&lt;h2 id="podcast">Podcast&lt;/h2>
&lt;p>You can add a podcast or music to a page by placing the MP3 file in the page&amp;rsquo;s folder or the media library folder and then embedding the audio on your page with the &lt;em>audio&lt;/em> shortcode:&lt;/p>
&lt;pre>&lt;code>{{&amp;lt; audio src=&amp;quot;ambient-piano.mp3&amp;quot; &amp;gt;}}
&lt;/code>&lt;/pre>
&lt;p>Try it out:&lt;/p>
&lt;audio controls >
&lt;source src="ambient-piano.mp3" type="audio/mpeg">
&lt;/audio>
&lt;h2 id="test-students">Test students&lt;/h2>
&lt;p>Provide a simple yet fun self-assessment by revealing the solutions to challenges with the &lt;code>spoiler&lt;/code> shortcode:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">{{&lt;span class="p">&amp;lt;&lt;/span> &lt;span class="nt">spoiler&lt;/span> &lt;span class="na">text&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;👉 Click to view the solution&amp;#34;&lt;/span> &lt;span class="p">&amp;gt;&lt;/span>}}
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">You found me!
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">{{&lt;span class="p">&amp;lt;&lt;/span> &lt;span class="p">/&lt;/span>&lt;span class="nt">spoiler&lt;/span> &lt;span class="p">&amp;gt;&lt;/span>}}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>renders as&lt;/p>
&lt;details class="spoiler " id="spoiler-2">
&lt;summary class="cursor-pointer">👉 Click to view the solution&lt;/summary>
&lt;div class="rounded-lg bg-neutral-50 dark:bg-neutral-800 p-2">
You found me 🎉
&lt;/div>
&lt;/details>
&lt;h2 id="math">Math&lt;/h2>
&lt;p>Hugo Blox Builder supports a Markdown extension for $\LaTeX$ math. You can enable this feature by toggling the &lt;code>math&lt;/code> option in your &lt;code>config/_default/params.yaml&lt;/code> file.&lt;/p>
&lt;p>To render &lt;em>inline&lt;/em> or &lt;em>block&lt;/em> math, wrap your LaTeX math with &lt;code>{{&amp;lt; math &amp;gt;}}$...${{&amp;lt; /math &amp;gt;}}&lt;/code> or &lt;code>{{&amp;lt; math &amp;gt;}}$$...$${{&amp;lt; /math &amp;gt;}}&lt;/code>, respectively.&lt;/p>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-blue-100 dark:bg-blue-900 border-blue-500"
data-callout="note"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-blue-600 dark:text-blue-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m16.862 4.487l1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8l.8-2.685a4.5 4.5 0 0 1 1.13-1.897zm0 0L19.5 7.125"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Note&lt;/div>
&lt;div class="callout-body">&lt;p>We wrap the LaTeX math in the Hugo Blox &lt;em>math&lt;/em> shortcode to prevent Hugo rendering our math as Markdown. This callout now uses the standard Markdown alert syntax!&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;p>Example &lt;strong>math block&lt;/strong>:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-latex" data-lang="latex">&lt;span class="line">&lt;span class="cl">&lt;span class="nb">{{&lt;/span>&amp;lt; math &amp;gt;&lt;span class="nb">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="sb">$$&lt;/span>&lt;span class="nb">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">&lt;/span>&lt;span class="nv">\gamma&lt;/span>&lt;span class="nb">_{n} &lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="nv">\frac&lt;/span>&lt;span class="nb">{ &lt;/span>&lt;span class="nv">\left&lt;/span>&lt;span class="nb"> | &lt;/span>&lt;span class="nv">\left&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="o">(&lt;/span>&lt;span class="nv">\mathbf&lt;/span>&lt;span class="nb"> x_{n} &lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="nv">\mathbf&lt;/span>&lt;span class="nb"> x_{n&lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="m">1&lt;/span>&lt;span class="nb">} &lt;/span>&lt;span class="nv">\right&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="o">)&lt;/span>&lt;span class="nb">^T &lt;/span>&lt;span class="nv">\left&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="o">[&lt;/span>&lt;span class="nv">\nabla&lt;/span>&lt;span class="nb"> F &lt;/span>&lt;span class="o">(&lt;/span>&lt;span class="nv">\mathbf&lt;/span>&lt;span class="nb"> x_{n}&lt;/span>&lt;span class="o">)&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="nv">\nabla&lt;/span>&lt;span class="nb"> F &lt;/span>&lt;span class="o">(&lt;/span>&lt;span class="nv">\mathbf&lt;/span>&lt;span class="nb"> x_{n&lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="m">1&lt;/span>&lt;span class="nb">}&lt;/span>&lt;span class="o">)&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="nv">\right&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="o">]&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="nv">\right&lt;/span>&lt;span class="nb"> |}{&lt;/span>&lt;span class="nv">\left&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="nv">\|\nabla&lt;/span>&lt;span class="nb"> F&lt;/span>&lt;span class="o">(&lt;/span>&lt;span class="nv">\mathbf&lt;/span>&lt;span class="nb">{x}_{n}&lt;/span>&lt;span class="o">)&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="nv">\nabla&lt;/span>&lt;span class="nb"> F&lt;/span>&lt;span class="o">(&lt;/span>&lt;span class="nv">\mathbf&lt;/span>&lt;span class="nb">{x}_{n&lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="m">1&lt;/span>&lt;span class="nb">}&lt;/span>&lt;span class="o">)&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="nv">\right&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="nv">\|&lt;/span>&lt;span class="nb">^&lt;/span>&lt;span class="m">2&lt;/span>&lt;span class="nb">}
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">&lt;/span>&lt;span class="s">$$&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">{{&lt;/span>&amp;lt; /math &amp;gt;&lt;span class="nb">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>renders as&lt;/p>
$$\gamma_{n} = \frac{ \left | \left (\mathbf x_{n} - \mathbf x_{n-1} \right )^T \left [\nabla F (\mathbf x_{n}) - \nabla F (\mathbf x_{n-1}) \right ] \right |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2}$$
&lt;p>Example &lt;strong>inline math&lt;/strong> &lt;code>{{&amp;lt; math &amp;gt;}}$\nabla F(\mathbf{x}_{n})${{&amp;lt; /math &amp;gt;}}&lt;/code> renders as $\nabla F(\mathbf{x}_{n})$
.&lt;/p>
&lt;p>Example &lt;strong>multi-line math&lt;/strong> using the math linebreak (&lt;code>\\&lt;/code>):&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-latex" data-lang="latex">&lt;span class="line">&lt;span class="cl">&lt;span class="nb">{{&lt;/span>&amp;lt; math &amp;gt;&lt;span class="nb">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="sb">$$&lt;/span>&lt;span class="nb">f&lt;/span>&lt;span class="o">(&lt;/span>&lt;span class="nb">k;p_{&lt;/span>&lt;span class="m">0&lt;/span>&lt;span class="nb">}^{&lt;/span>&lt;span class="o">*&lt;/span>&lt;span class="nb">}&lt;/span>&lt;span class="o">)&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="nb"> &lt;/span>&lt;span class="nv">\begin&lt;/span>&lt;span class="nb">{cases}p_{&lt;/span>&lt;span class="m">0&lt;/span>&lt;span class="nb">}^{&lt;/span>&lt;span class="o">*&lt;/span>&lt;span class="nb">} &amp;amp; &lt;/span>&lt;span class="nv">\text&lt;/span>&lt;span class="nb">{if }k&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="m">1&lt;/span>&lt;span class="nb">, &lt;/span>&lt;span class="nv">\\&lt;/span>&lt;span class="nb">
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">&lt;/span>&lt;span class="m">1&lt;/span>&lt;span class="o">-&lt;/span>&lt;span class="nb">p_{&lt;/span>&lt;span class="m">0&lt;/span>&lt;span class="nb">}^{&lt;/span>&lt;span class="o">*&lt;/span>&lt;span class="nb">} &amp;amp; &lt;/span>&lt;span class="nv">\text&lt;/span>&lt;span class="nb">{if }k&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="m">0&lt;/span>&lt;span class="nb">.&lt;/span>&lt;span class="nv">\end&lt;/span>&lt;span class="nb">{cases}&lt;/span>&lt;span class="s">$$&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="nb">{{&lt;/span>&amp;lt; /math &amp;gt;&lt;span class="nb">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>renders as&lt;/p>
$$
f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} &amp; \text{if }k=1, \\
1-p_{0}^{*} &amp; \text{if }k=0.\end{cases}
$$
&lt;h2 id="code">Code&lt;/h2>
&lt;p>Hugo Blox Builder utilises Hugo&amp;rsquo;s Markdown extension for highlighting code syntax. The code theme can be selected in the &lt;code>config/_default/params.yaml&lt;/code> file.&lt;/p>
&lt;pre>&lt;code>```python
import pandas as pd
data = pd.read_csv(&amp;quot;data.csv&amp;quot;)
data.head()
```
&lt;/code>&lt;/pre>
&lt;p>renders as&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-python" data-lang="python">&lt;span class="line">&lt;span class="cl">&lt;span class="kn">import&lt;/span> &lt;span class="nn">pandas&lt;/span> &lt;span class="k">as&lt;/span> &lt;span class="nn">pd&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="n">data&lt;/span> &lt;span class="o">=&lt;/span> &lt;span class="n">pd&lt;/span>&lt;span class="o">.&lt;/span>&lt;span class="n">read_csv&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="s2">&amp;#34;data.csv&amp;#34;&lt;/span>&lt;span class="p">)&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="n">data&lt;/span>&lt;span class="o">.&lt;/span>&lt;span class="n">head&lt;/span>&lt;span class="p">()&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="inline-images">Inline Images&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go" data-lang="go">&lt;span class="line">&lt;span class="cl">&lt;span class="p">{{&amp;lt;&lt;/span> &lt;span class="nx">icon&lt;/span> &lt;span class="nx">name&lt;/span>&lt;span class="p">=&lt;/span>&lt;span class="s">&amp;#34;python&amp;#34;&lt;/span> &lt;span class="p">&amp;gt;}}&lt;/span> &lt;span class="nx">Python&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>renders as&lt;/p>
&lt;p>
&lt;span class="inline-block pr-1">
&lt;svg style="height: 1em; transform: translateY(0.1em);" xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512" fill="currentColor">&lt;path d="M439.8 200.5c-7.7-30.9-22.3-54.2-53.4-54.2h-40.1v47.4c0 36.8-31.2 67.8-66.8 67.8H172.7c-29.2 0-53.4 25-53.4 54.3v101.8c0 29 25.2 46 53.4 54.3 33.8 9.9 66.3 11.7 106.8 0 26.9-7.8 53.4-23.5 53.4-54.3v-40.7H226.2v-13.6h160.2c31.1 0 42.6-21.7 53.4-54.2 11.2-33.5 10.7-65.7 0-108.6zM286.2 404c11.1 0 20.1 9.1 20.1 20.3 0 11.3-9 20.4-20.1 20.4-11 0-20.1-9.2-20.1-20.4.1-11.3 9.1-20.3 20.1-20.3zM167.8 248.1h106.8c29.7 0 53.4-24.5 53.4-54.3V91.9c0-29-24.4-50.7-53.4-55.6-35.8-5.9-74.7-5.6-106.8.1-45.2 8-53.4 24.7-53.4 55.6v40.7h106.9v13.6h-147c-31.1 0-58.3 18.7-66.8 54.2-9.8 40.7-10.2 66.1 0 108.6 7.6 31.6 25.7 54.2 56.8 54.2H101v-48.8c0-35.3 30.5-66.4 66.8-66.4zm-6.7-142.6c-11.1 0-20.1-9.1-20.1-20.3.1-11.3 9-20.4 20.1-20.4 11 0 20.1 9.2 20.1 20.4s-9 20.3-20.1 20.3z"/>&lt;/svg>
&lt;/span> Python&lt;/p>
&lt;h2 id="did-you-find-this-page-helpful-consider-sharing-it-">Did you find this page helpful? Consider sharing it 🙌&lt;/h2></description></item><item><title>Buttons</title><link>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/button/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/button/</guid><description>&lt;p>A modern, customizable button shortcode with gradient styling, icons, and smart link handling.&lt;/p>
&lt;h2 id="basic-usage">Basic Usage&lt;/h2>
&lt;div class="text-left">
&lt;a
id="button-351ac412531c23e422b81c6422c17da5"
href="https://70dd5840.eleanor-godway-archive.pages.dev/contact"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Contact Us"
>
&lt;span>Contact Us&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="text-left">
&lt;a
id="button-99f90e9d2b754ffe3fc7b4f9d280ab9e"
href="https://example.com"
target="_blank"
rel="noopener noreferrer"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-secondary-500 to-secondary-600 hover:from-secondary-600 hover:to-secondary-700 active:from-secondary-700 active:to-secondary-800 text-white shadow-lg shadow-secondary-500/25 hover:shadow-xl hover:shadow-secondary-500/30 hover:scale-105 active:scale-95 focus:ring-secondary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Visit External Site"
>
&lt;span>Visit External Site&lt;/span>
&lt;/a>
&lt;/div>
&lt;p>The above buttons are created with:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;/contact&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Contact Us&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;https://example.com&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">new_tab&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;true&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">style&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;secondary&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Visit External Site&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="style-variants">Style Variants&lt;/h2>
&lt;h3 id="primary-default">Primary (Default)&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-33f0c5949dceb4f2158940543a6d11f0"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Primary Button"
>
&lt;span>Primary Button&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">style&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;primary&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Primary Button&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="secondary">Secondary&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-654c665d9c02125e00b3c2638e02ff31"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-secondary-500 to-secondary-600 hover:from-secondary-600 hover:to-secondary-700 active:from-secondary-700 active:to-secondary-800 text-white shadow-lg shadow-secondary-500/25 hover:shadow-xl hover:shadow-secondary-500/30 hover:scale-105 active:scale-95 focus:ring-secondary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Secondary Button"
>
&lt;span>Secondary Button&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">style&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;secondary&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Secondary Button&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="outline">Outline&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-569954ebe8d760dfbd5f8dd8d491e972"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-white dark:bg-zinc-900 border-2 border-primary-500 text-primary-600 dark:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-950/50 hover:border-primary-600 active:bg-primary-100 dark:active:bg-primary-950 shadow-md hover:shadow-lg hover:scale-105 active:scale-95 focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Outline Button"
>
&lt;span>Outline Button&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">style&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;outline&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Outline Button&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="ghost">Ghost&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-e8d694dcc82ccc6b692376347eb1210c"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-transparent text-primary-600 dark:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-950/50 active:bg-primary-100 dark:active:bg-primary-950 hover:scale-105 active:scale-95 focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Ghost Button"
>
&lt;span>Ghost Button&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">style&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;ghost&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Ghost Button&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="sizes">Sizes&lt;/h2>
&lt;h3 id="small">Small&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-9edd9a4164984b892472dc4cb0d94acb"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-3 py-1.5 text-sm rounded-lg"
role="button"
aria-label="Small Button"
>
&lt;span>Small Button&lt;/span>
&lt;/a>
&lt;/div>
&lt;h3 id="medium-default">Medium (Default)&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-917c91b5df194ee244bcb8dd7d4916c5"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Medium Button"
>
&lt;span>Medium Button&lt;/span>
&lt;/a>
&lt;/div>
&lt;h3 id="large">Large&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-c9ef1eeebbeac0de80c5666baeda508c"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-6 py-3 text-lg rounded-lg"
role="button"
aria-label="Large Button"
>
&lt;span>Large Button&lt;/span>
&lt;/a>
&lt;/div>
&lt;h3 id="extra-large">Extra Large&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-c38da6a61bc9a2511c12a071b05d1527"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-8 py-4 text-xl rounded-lg"
role="button"
aria-label="Extra Large"
>
&lt;span>Extra Large&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">size&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;sm&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Small Button&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">size&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;md&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Medium Button&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">size&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;lg&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Large Button&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">size&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;xl&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Extra Large&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="alignment">Alignment&lt;/h2>
&lt;h3 id="left-default">Left (Default)&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-46275a2130718485193b07442854e305"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Left Aligned"
>
&lt;span>Left Aligned&lt;/span>
&lt;/a>
&lt;/div>
&lt;h3 id="center">Center&lt;/h3>
&lt;div class="text-center">
&lt;a
id="button-2e7c6d0545131be865f91f4dcb47ebd3"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Center Aligned"
>
&lt;span>Center Aligned&lt;/span>
&lt;/a>
&lt;/div>
&lt;h3 id="right">Right&lt;/h3>
&lt;div class="text-right">
&lt;a
id="button-09d01d6786049ba2a63f2cafd484e60e"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Right Aligned"
>
&lt;span>Right Aligned&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">align&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;left&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Left Aligned&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">align&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;center&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Center Aligned&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">align&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;right&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Right Aligned&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="with-icons">With Icons&lt;/h2>
&lt;h3 id="icon-before-text">Icon Before Text&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-2070b64a1b12b8165d04699a5e4f0a4d"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Download"
>
&lt;span class="flex-shrink-0">
&lt;svg class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"/>&lt;/svg>
&lt;/span>
&lt;span>Download&lt;/span>
&lt;/a>
&lt;/div>
&lt;h3 id="icon-after-text">Icon After Text&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-213c46a162adc66071b38a55c26716e3"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Continue"
>
&lt;span>Continue&lt;/span>
&lt;span class="flex-shrink-0">
&lt;svg class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3"/>&lt;/svg>
&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">icon&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;arrow-down-tray&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Download&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">icon&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;arrow-right&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">icon_position&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;right&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Continue&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="rounded-corners">Rounded Corners&lt;/h2>
&lt;h3 id="small-radius">Small Radius&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-f306324e9ea3297cc7149761131e0e41"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded"
role="button"
aria-label="Small Radius"
>
&lt;span>Small Radius&lt;/span>
&lt;/a>
&lt;/div>
&lt;h3 id="medium-radius-default">Medium Radius (Default)&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-d519a3255417739cb8197b9869248dec"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="Medium Radius"
>
&lt;span>Medium Radius&lt;/span>
&lt;/a>
&lt;/div>
&lt;h3 id="large-radius">Large Radius&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-920afdfab9e2ab0e88cb5046924cd223"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded-xl"
role="button"
aria-label="Large Radius"
>
&lt;span>Large Radius&lt;/span>
&lt;/a>
&lt;/div>
&lt;h3 id="pill-shape">Pill Shape&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-464be1a963c8f63cf75275ea2137551a"
href="#"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-4 py-2 text-base rounded-full"
role="button"
aria-label="Pill Button"
>
&lt;span>Pill Button&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">rounded&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;sm&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Small Radius&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">rounded&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;md&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Medium Radius&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">rounded&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;lg&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Large Radius&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;#&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">rounded&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;full&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Pill Button&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="advanced-examples">Advanced Examples&lt;/h2>
&lt;h3 id="call-to-action-button">Call-to-Action Button&lt;/h3>
&lt;div class="text-center">
&lt;a
id="button-62059f8d62052633590d3f60ec092595"
href="https://70dd5840.eleanor-godway-archive.pages.dev/signup"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 active:from-primary-700 active:to-primary-800 text-white shadow-lg shadow-primary-500/25 hover:shadow-xl hover:shadow-primary-500/30 hover:-translate-y-0.5 hover:scale-[1.02] active:scale-[0.98] focus:ring-primary-500/50 px-6 py-3 text-lg rounded-lg"
role="button"
aria-label="Get Started Today"
>
&lt;span class="flex-shrink-0">
&lt;svg class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.59 14.37a6 6 0 0 1-5.84 7.38v-4.8m5.84-2.58a14.98 14.98 0 0 0 6.16-12.12A14.98 14.98 0 0 0 9.631 8.41m5.96 5.96a14.926 14.926 0 0 1-5.841 2.58m-.119-8.54a6 6 0 0 0-7.381 5.84h4.8m2.581-5.84a14.927 14.927 0 0 0-2.58 5.84m2.699 2.7a15.53 15.53 0 0 1-.311.06a15.09 15.09 0 0 1-2.448-2.448a14.9 14.9 0 0 1 .06-.312m-2.24 2.39a4.493 4.493 0 0 0-1.757 4.306a4.493 4.493 0 0 0 4.306-1.758M16.5 9a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0"/>&lt;/svg>
&lt;/span>
&lt;span>Get Started Today&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;/signup&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">style&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;primary&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">size&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;lg&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">align&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;center&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">icon&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;rocket-launch&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Get Started Today&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="external-link-with-new-tab">External Link with New Tab&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-2cb1bb8bbb2590cc46a8ead690d2da77"
href="https://github.com/hugo-blox/hugo-blox-builder"
target="_blank"
rel="noopener noreferrer"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-white dark:bg-zinc-900 border-2 border-primary-500 text-primary-600 dark:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-950/50 hover:border-primary-600 active:bg-primary-100 dark:active:bg-primary-950 shadow-md hover:shadow-lg hover:scale-105 active:scale-95 focus:ring-primary-500/50 px-4 py-2 text-base rounded-lg"
role="button"
aria-label="View on GitHub"
>
&lt;span>View on GitHub&lt;/span>
&lt;span class="flex-shrink-0">
&lt;svg class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"/>&lt;/svg>
&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;https://github.com/hugo-blox/hugo-blox-builder&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">new_tab&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;true&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">style&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;outline&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">icon&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;arrow-top-right-on-square&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">icon_position&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;right&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>View on GitHub&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="download-button">Download Button&lt;/h3>
&lt;div class="text-left">
&lt;a
id="button-72ec86801f391f16b84b269ade9d2995"
href="https://70dd5840.eleanor-godway-archive.pages.dev/files/document.pdf"
class="inline-flex items-center gap-2 font-medium no-underline transition-all duration-300 ease-out transform-gpu focus:outline-none focus:ring-4 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-zinc-900 disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none bg-gradient-to-br from-secondary-500 to-secondary-600 hover:from-secondary-600 hover:to-secondary-700 active:from-secondary-700 active:to-secondary-800 text-white shadow-lg shadow-secondary-500/25 hover:shadow-xl hover:shadow-secondary-500/30 hover:scale-105 active:scale-95 focus:ring-secondary-500/50 px-4 py-2 text-base rounded-full"
role="button"
aria-label="Download PDF"
>
&lt;span class="flex-shrink-0">
&lt;svg class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m.75 12l3 3m0 0l3-3m-3 3v-6m-1.5-9H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9"/>&lt;/svg>
&lt;/span>
&lt;span>Download PDF&lt;/span>
&lt;/a>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-go-html-template" data-lang="go-html-template">&lt;span class="line">&lt;span class="cl">&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">url&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;/files/document.pdf&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">style&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;secondary&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">icon&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;document-arrow-down&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="nx">rounded&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s">&amp;#34;full&amp;#34;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>Download PDF&lt;span class="cp">{{&lt;/span>&lt;span class="err">&amp;lt;&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">/&lt;/span>&lt;span class="nx">button&lt;/span>&lt;span class="w"> &lt;/span>&lt;span class="err">&amp;gt;&lt;/span>&lt;span class="cp">}}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="parameters">Parameters&lt;/h2>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Parameter&lt;/th>
&lt;th>Type&lt;/th>
&lt;th>Default&lt;/th>
&lt;th>Description&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;code>url&lt;/code>&lt;/td>
&lt;td>string&lt;/td>
&lt;td>&lt;code>#&lt;/code>&lt;/td>
&lt;td>&lt;strong>Required.&lt;/strong> Button destination URL (internal or external)&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>text&lt;/code>&lt;/td>
&lt;td>string&lt;/td>
&lt;td>Inner content&lt;/td>
&lt;td>Button text (overrides shortcode content)&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>new_tab&lt;/code>&lt;/td>
&lt;td>boolean&lt;/td>
&lt;td>&lt;code>false&lt;/code>&lt;/td>
&lt;td>Whether to open link in new tab&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>style&lt;/code>&lt;/td>
&lt;td>string&lt;/td>
&lt;td>&lt;code>primary&lt;/code>&lt;/td>
&lt;td>Button style: &lt;code>primary&lt;/code>, &lt;code>secondary&lt;/code>, &lt;code>outline&lt;/code>, &lt;code>ghost&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>size&lt;/code>&lt;/td>
&lt;td>string&lt;/td>
&lt;td>&lt;code>md&lt;/code>&lt;/td>
&lt;td>Button size: &lt;code>sm&lt;/code>, &lt;code>md&lt;/code>, &lt;code>lg&lt;/code>, &lt;code>xl&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>align&lt;/code>&lt;/td>
&lt;td>string&lt;/td>
&lt;td>&lt;code>left&lt;/code>&lt;/td>
&lt;td>Button alignment: &lt;code>left&lt;/code>, &lt;code>center&lt;/code>, &lt;code>right&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>icon&lt;/code>&lt;/td>
&lt;td>string&lt;/td>
&lt;td>-&lt;/td>
&lt;td>Icon name from
&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>icon_position&lt;/code>&lt;/td>
&lt;td>string&lt;/td>
&lt;td>&lt;code>left&lt;/code>&lt;/td>
&lt;td>Icon position: &lt;code>left&lt;/code>, &lt;code>right&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>rounded&lt;/code>&lt;/td>
&lt;td>string&lt;/td>
&lt;td>&lt;code>md&lt;/code>&lt;/td>
&lt;td>Border radius: &lt;code>sm&lt;/code>, &lt;code>md&lt;/code>, &lt;code>lg&lt;/code>, &lt;code>xl&lt;/code>, &lt;code>full&lt;/code>&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>disabled&lt;/code>&lt;/td>
&lt;td>boolean&lt;/td>
&lt;td>&lt;code>false&lt;/code>&lt;/td>
&lt;td>Whether button should be disabled&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;h2 id="security-features">Security Features&lt;/h2>
&lt;p>The button shortcode automatically handles security for external links:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>External links&lt;/strong> get &lt;code>rel=&amp;quot;noreferrer&amp;quot;&lt;/code> attribute&lt;/li>
&lt;li>&lt;strong>External links opening in new tab&lt;/strong> get &lt;code>rel=&amp;quot;noopener noreferrer&amp;quot;&lt;/code>&lt;/li>
&lt;li>&lt;strong>Internal links opening in new tab&lt;/strong> get &lt;code>rel=&amp;quot;noopener&amp;quot;&lt;/code>&lt;/li>
&lt;/ul>
&lt;p>This ensures safe navigation while maintaining functionality.&lt;/p>
&lt;h2 id="accessibility">Accessibility&lt;/h2>
&lt;p>The button shortcode includes built-in accessibility features:&lt;/p>
&lt;ul>
&lt;li>Proper &lt;code>role=&amp;quot;button&amp;quot;&lt;/code> attribute&lt;/li>
&lt;li>&lt;code>aria-label&lt;/code> support&lt;/li>
&lt;li>Keyboard focus indicators&lt;/li>
&lt;li>High contrast focus rings&lt;/li>
&lt;li>Disabled state handling&lt;/li>
&lt;/ul></description></item><item><title>Callouts</title><link>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/callout/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/callout/</guid><description>&lt;p>Hugo Blox supports GitHub and Obsidian-style Markdown callouts for maximum compatibility and content portability.&lt;/p>
&lt;p>Callouts are a useful feature to draw attention to important or related content such as notes, hints, or warnings in your articles.&lt;/p>
&lt;h2 id="usage">Usage&lt;/h2>
&lt;h3 id="basic-callout-types">Basic Callout Types&lt;/h3>
&lt;p>Hugo Blox supports all 15+ callout types from
:&lt;/p>
&lt;p>&lt;strong>Information &amp;amp; Notes:&lt;/strong>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!NOTE]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">This is a note callout with important information that users should know.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-blue-100 dark:bg-blue-900 border-blue-500"
data-callout="note"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-blue-600 dark:text-blue-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m16.862 4.487l1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8l.8-2.685a4.5 4.5 0 0 1 1.13-1.897zm0 0L19.5 7.125"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Note&lt;/div>
&lt;div class="callout-body">&lt;p>This is a note callout with important information that users should know.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!INFO]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">Alternative info callout - same styling as NOTE.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-blue-100 dark:bg-blue-900 border-blue-500"
data-callout="info"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-blue-600 dark:text-blue-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m11.25 11.25l.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0m-9-3.75h.008v.008H12z"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Info&lt;/div>
&lt;div class="callout-body">&lt;p>Alternative info callout - same styling as NOTE.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!ABSTRACT]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">Use for abstracts, summaries, or TL;DR sections.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-cyan-100 dark:bg-cyan-900 border-cyan-500"
data-callout="abstract"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-cyan-600 dark:text-cyan-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75a2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15a2.25 2.25 0 0 1 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125zM6.75 12h.008v.008H6.75zm0 3h.008v.008H6.75zm0 3h.008v.008H6.75z"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Abstract&lt;/div>
&lt;div class="callout-body">&lt;p>Use for abstracts, summaries, or TL;DR sections.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;p>&lt;strong>Actions &amp;amp; Tasks:&lt;/strong>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!TODO]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">This is something that needs to be done.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-blue-100 dark:bg-blue-900 border-blue-500"
data-callout="todo"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-blue-600 dark:text-blue-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 12.75L11.25 15L15 9.75M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Todo&lt;/div>
&lt;div class="callout-body">&lt;p>This is something that needs to be done.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!TIP]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">Here&amp;#39;s a helpful tip to make your workflow more efficient!
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-emerald-100 dark:bg-emerald-900 border-emerald-500"
data-callout="tip"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-emerald-600 dark:text-emerald-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Tip&lt;/div>
&lt;div class="callout-body">&lt;p>Here&amp;rsquo;s a helpful tip to make your workflow more efficient!&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!SUCCESS]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">Great job! This operation completed successfully.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-green-100 dark:bg-green-900 border-green-500"
data-callout="success"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-green-600 dark:text-green-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 12.75L11.25 15L15 9.75M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Success&lt;/div>
&lt;div class="callout-body">&lt;p>Great job! This operation completed successfully.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;p>&lt;strong>Questions &amp;amp; Interactive:&lt;/strong>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!QUESTION]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">What do you think about this approach? Let us know!
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-yellow-100 dark:bg-yellow-900 border-yellow-500"
data-callout="question"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-yellow-700 dark:text-yellow-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9.879 7.519c1.172-1.025 3.071-1.025 4.243 0c1.171 1.025 1.171 2.687 0 3.712a2.98 2.98 0 0 1-.67.442c-.746.361-1.452.999-1.452 1.827v.75M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0m-9 5.25h.008v.008H12z"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Question&lt;/div>
&lt;div class="callout-body">&lt;p>What do you think about this approach? Let us know!&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!EXAMPLE]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">Here&amp;#39;s a practical example of how to implement this feature.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-purple-100 dark:bg-purple-900 border-purple-500"
data-callout="example"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-purple-600 dark:text-purple-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9.75 3.104v5.714a2.25 2.25 0 0 1-.659 1.591L5 14.5M9.75 3.104c-.251.023-.501.05-.75.082m.75-.082a24.301 24.301 0 0 1 4.5 0m0 0v5.714c0 .597.237 1.17.659 1.591L19.8 15.3M14.25 3.104c.251.023.501.05.75.082M19.8 15.3l-1.57.393A9.065 9.065 0 0 1 12 15a9.065 9.065 0 0 0-6.23-.693L5 14.5m14.8.8l1.402 1.402c1.232 1.232.65 3.318-1.067 3.611A48.309 48.309 0 0 1 12 21a48.25 48.25 0 0 1-8.135-.687c-1.718-.293-2.3-2.379-1.067-3.61L5 14.5"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Example&lt;/div>
&lt;div class="callout-body">&lt;p>Here&amp;rsquo;s a practical example of how to implement this feature.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!QUOTE]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">&amp;#34;The best way to predict the future is to invent it.&amp;#34; - Alan Kay
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-gray-100 dark:bg-gray-800 border-gray-500"
data-callout="quote"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-gray-600 dark:text-gray-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193c-.34.027-.68.052-1.02.072v3.091l-3-3a49.5 49.5 0 0 1-4.02-.163a2.115 2.115 0 0 1-.825-.242m9.345-8.334a2.126 2.126 0 0 0-.476-.095a48.64 48.64 0 0 0-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0 0 11.25 3c-2.115 0-4.198.137-6.24.402c-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235c.577.075 1.157.14 1.74.194V21l4.155-4.155"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Quote&lt;/div>
&lt;div class="callout-body">&lt;p>&amp;ldquo;The best way to predict the future is to invent it.&amp;rdquo; - Alan Kay&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;p>&lt;strong>Warnings &amp;amp; Errors:&lt;/strong>&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!WARNING]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">Be careful! This action might have unexpected consequences.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-orange-100 dark:bg-orange-900 border-orange-500"
data-callout="warning"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-orange-600 dark:text-orange-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0zM12 15.75h.007v.008H12z"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Warning&lt;/div>
&lt;div class="callout-body">&lt;p>Be careful! This action might have unexpected consequences.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!CAUTION]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">Danger! This operation is irreversible and could cause data loss.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-red-100 dark:bg-red-900 border-red-500"
data-callout="caution"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-red-600 dark:text-red-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0zM12 15.75h.007v.008H12z"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Caution&lt;/div>
&lt;div class="callout-body">&lt;p>Danger! This operation is irreversible and could cause data loss.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!IMPORTANT]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">This is critical information that users must understand to proceed.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-purple-100 dark:bg-purple-900 border-purple-500"
data-callout="important"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-purple-600 dark:text-purple-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 9v3.75m9-.75a9 9 0 1 1-18 0a9 9 0 0 1 18 0m-9 3.75h.008v.008H12z"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Important&lt;/div>
&lt;div class="callout-body">&lt;p>This is critical information that users must understand to proceed.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!DANGER]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">This is extremely dangerous - proceed with extreme caution!
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-red-100 dark:bg-red-900 border-red-500"
data-callout="danger"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-red-600 dark:text-red-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0zM12 15.75h.007v.008H12z"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Danger&lt;/div>
&lt;div class="callout-body">&lt;p>This is extremely dangerous - proceed with extreme caution!&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!FAILURE]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">This operation failed. Check your configuration and try again.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-red-100 dark:bg-red-900 border-red-500"
data-callout="failure"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-red-600 dark:text-red-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Failure&lt;/div>
&lt;div class="callout-body">&lt;p>This operation failed. Check your configuration and try again.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!BUG]
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">Known issue: This feature doesn&amp;#39;t work properly in Safari &amp;lt; 14.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-red-100 dark:bg-red-900 border-red-500"
data-callout="bug"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-red-600 dark:text-red-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 12.75c1.148 0 2.278.08 3.383.237c1.037.146 1.866.966 1.866 2.013c0 3.728-2.35 6.75-5.25 6.75S6.75 18.728 6.75 15c0-1.046.83-1.867 1.866-2.013A24.204 24.204 0 0 1 12 12.75m0 0c2.883 0 5.647.508 8.208 1.44a23.91 23.91 0 0 1-1.153 6.06M12 12.75c-2.883 0-5.647.508-8.208 1.44c.125 2.105.52 4.136 1.153 6.06M12 12.75a2.25 2.25 0 0 0 2.248-2.354M12 12.75a2.25 2.25 0 0 1-2.248-2.354M12 8.25c.995 0 1.971-.08 2.922-.236c.403-.066.74-.358.795-.762a3.778 3.778 0 0 0-.399-2.25M12 8.25c-.995 0-1.97-.08-2.922-.236c-.402-.066-.74-.358-.795-.762a3.734 3.734 0 0 1 .4-2.253M12 8.25a2.25 2.25 0 0 0-2.248 2.146M12 8.25a2.25 2.25 0 0 1 2.248 2.146M8.683 5a6.032 6.032 0 0 1-1.155-1.002c.07-.63.27-1.222.574-1.747M8.683 5a3.75 3.75 0 0 1 6.635 0m0 0c.427-.283.815-.62 1.155-.999a4.471 4.471 0 0 0-.575-1.752M4.921 6a24.048 24.048 0 0 0-.392 3.314a23.88 23.88 0 0 0 5.223 1.082M19.08 6c.205 1.08.337 2.187.392 3.314a23.882 23.882 0 0 1-5.223 1.082"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Bug&lt;/div>
&lt;div class="callout-body">&lt;p>Known issue: This feature doesn&amp;rsquo;t work properly in Safari &amp;lt; 14.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;h3 id="custom-titles">Custom Titles&lt;/h3>
&lt;p>You can customize the title of any callout:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">[!WARNING]+ Custom Warning Title
&lt;/span>&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="ge">&lt;/span>&lt;span class="k">&amp;gt; &lt;/span>&lt;span class="ge">This warning has a custom title instead of just &amp;#34;Warning&amp;#34;.
&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
&lt;div class="callout flex px-4 py-3 mb-6 rounded-md border-l-4 bg-orange-100 dark:bg-orange-900 border-orange-500"
data-callout="warning"
data-callout-metadata="">
&lt;span class="callout-icon pr-3 pt-1 text-orange-600 dark:text-orange-300">
&lt;svg height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0zM12 15.75h.007v.008H12z"/>&lt;/svg>
&lt;/span>
&lt;div class="callout-content dark:text-neutral-300">
&lt;div class="callout-title font-semibold mb-1">Custom Warning Title&lt;br>&lt;/div>
&lt;div class="callout-body">&lt;p>This warning has a custom title instead of just &amp;ldquo;Warning&amp;rdquo;.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;h3 id="legacy-syntax-deprecated">Legacy Syntax (Deprecated)&lt;/h3>
&lt;p>The old shortcode syntax still works but shows a deprecation warning:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-markdown" data-lang="markdown">&lt;span class="line">&lt;span class="cl">{{&lt;span class="p">&amp;lt;&lt;/span> &lt;span class="nt">callout&lt;/span> &lt;span class="na">note&lt;/span> &lt;span class="p">&amp;gt;&lt;/span>}}
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">This still works but is deprecated. Use the Markdown syntax above!
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">{{&lt;span class="p">&amp;lt;&lt;/span> &lt;span class="p">/&lt;/span>&lt;span class="nt">callout&lt;/span> &lt;span class="p">&amp;gt;&lt;/span>}}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="css-customization">CSS Customization&lt;/h3>
&lt;p>Hugo Blox generates callouts with semantic CSS classes and data attributes, making customization easy. Each callout has:&lt;/p>
&lt;ul>
&lt;li>Base class: &lt;code>.callout&lt;/code>&lt;/li>
&lt;li>Type-specific data attribute: &lt;code>data-callout=&amp;quot;note&amp;quot;&lt;/code>&lt;/li>
&lt;li>Component classes: &lt;code>.callout-icon&lt;/code>, &lt;code>.callout-title&lt;/code>, &lt;code>.callout-content&lt;/code>, &lt;code>.callout-body&lt;/code>&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>Custom CSS Example&lt;/strong> (add to your &lt;code>assets/css/custom.css&lt;/code>):&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-css" data-lang="css">&lt;span class="line">&lt;span class="cl">&lt;span class="c">/* Customize NOTE callouts */&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">.&lt;/span>&lt;span class="nc">callout&lt;/span>&lt;span class="o">[&lt;/span>&lt;span class="nt">data-callout&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s2">&amp;#34;note&amp;#34;&lt;/span>&lt;span class="o">]&lt;/span> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">border-left-width&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="mi">8&lt;/span>&lt;span class="kt">px&lt;/span>&lt;span class="p">;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">box-shadow&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="mi">0&lt;/span> &lt;span class="mi">4&lt;/span>&lt;span class="kt">px&lt;/span> &lt;span class="mi">6&lt;/span>&lt;span class="kt">px&lt;/span> &lt;span class="mi">-1&lt;/span>&lt;span class="kt">px&lt;/span> &lt;span class="nb">rgb&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="mi">0&lt;/span> &lt;span class="mi">0&lt;/span> &lt;span class="mi">0&lt;/span> &lt;span class="o">/&lt;/span> &lt;span class="mf">0.1&lt;/span>&lt;span class="p">);&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c">/* Make SUCCESS callouts pulse */&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">.&lt;/span>&lt;span class="nc">callout&lt;/span>&lt;span class="o">[&lt;/span>&lt;span class="nt">data-callout&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s2">&amp;#34;success&amp;#34;&lt;/span>&lt;span class="o">]&lt;/span> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">animation&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="n">pulse&lt;/span> &lt;span class="mi">2&lt;/span>&lt;span class="kt">s&lt;/span> &lt;span class="kc">infinite&lt;/span>&lt;span class="p">;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c">/* Custom icon styling */&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">.&lt;/span>&lt;span class="nc">callout-icon&lt;/span> &lt;span class="nt">svg&lt;/span> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">transition&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="k">transform&lt;/span> &lt;span class="mf">0.2&lt;/span>&lt;span class="kt">s&lt;/span>&lt;span class="p">;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">.&lt;/span>&lt;span class="nc">callout&lt;/span>&lt;span class="p">:&lt;/span>&lt;span class="nd">hover&lt;/span> &lt;span class="p">.&lt;/span>&lt;span class="nc">callout-icon&lt;/span> &lt;span class="nt">svg&lt;/span> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">transform&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="nb">scale&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="mf">1.1&lt;/span>&lt;span class="p">);&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="c">/* Dark mode overrides */&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">@&lt;/span>&lt;span class="k">media&lt;/span> &lt;span class="o">(&lt;/span>&lt;span class="nt">prefers-color-scheme&lt;/span>&lt;span class="o">:&lt;/span> &lt;span class="nt">dark&lt;/span>&lt;span class="o">)&lt;/span> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="p">.&lt;/span>&lt;span class="nc">callout&lt;/span>&lt;span class="o">[&lt;/span>&lt;span class="nt">data-callout&lt;/span>&lt;span class="o">=&lt;/span>&lt;span class="s2">&amp;#34;warning&amp;#34;&lt;/span>&lt;span class="o">]&lt;/span> &lt;span class="p">{&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">background-color&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="nb">rgb&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="mi">92&lt;/span> &lt;span class="mi">25&lt;/span> &lt;span class="mi">2&lt;/span>&lt;span class="p">);&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="k">border-color&lt;/span>&lt;span class="p">:&lt;/span> &lt;span class="nb">rgb&lt;/span>&lt;span class="p">(&lt;/span>&lt;span class="mi">245&lt;/span> &lt;span class="mi">158&lt;/span> &lt;span class="mi">11&lt;/span>&lt;span class="p">);&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> &lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="p">}&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This approach matches
, ensuring your styles work across platforms.&lt;/p>
&lt;h3 id="benefits-of-the-new-syntax">Benefits of the New Syntax&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Portable&lt;/strong>: Works with GitHub, Obsidian, and other Markdown editors&lt;/li>
&lt;li>&lt;strong>Standard&lt;/strong>: Uses widely-adopted Markdown callout syntax&lt;/li>
&lt;li>&lt;strong>Clean&lt;/strong>: No Hugo-specific shortcodes needed&lt;/li>
&lt;li>&lt;strong>Future-proof&lt;/strong>: Supported by the latest Hugo versions (0.132.0+)&lt;/li>
&lt;li>&lt;strong>Customizable&lt;/strong>: Semantic CSS classes and data attributes for easy styling&lt;/li>
&lt;li>&lt;strong>Complete&lt;/strong>: All 15+ Obsidian callout types supported&lt;/li>
&lt;li>&lt;strong>Multilingual&lt;/strong>: Callout titles are automatically translated based on your site&amp;rsquo;s language (and can be customized in the language packs)&lt;/li>
&lt;/ul></description></item><item><title>Cards</title><link>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/cards/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/cards/</guid><description>&lt;p>A Hugo extension to create cards. Cards can be shown as links or as plain text.&lt;/p>
&lt;h2 id="usage">Usage&lt;/h2>
&lt;div class="hb-cards mt-4 grid gap-4 not-prose" style="--hb-cols: 1;">
&lt;a
class="hb-card group"href="../" >
&lt;span class="hb-card-title p-4">
&lt;svg style="height: 1em; width: 1em;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.26 10.147a60.436 60.436 0 0 0-.491 6.347A48.627 48.627 0 0 1 12 20.904a48.627 48.627 0 0 1 8.232-4.41a60.46 60.46 0 0 0-.491-6.347m-15.482 0a50.57 50.57 0 0 0-2.658-.813A59.905 59.905 0 0 1 12 3.493a59.902 59.902 0 0 1 10.399 5.84a51.39 51.39 0 0 0-2.658.814m-15.482 0A50.697 50.697 0 0 1 12 13.489a50.702 50.702 0 0 1 7.74-3.342M6.75 15a.75.75 0 1 0 0-1.5a.75.75 0 0 0 0 1.5m0 0v-3.675A55.378 55.378 0 0 1 12 8.443m-7.007 11.55A5.981 5.981 0 0 0 6.75 15.75v-1.5"/>&lt;/svg>Learn Shortcodes&lt;/span>&lt;/a>
&lt;a
class="hb-card group">
&lt;span class="hb-card-title p-4">A card without an icon or link&lt;/span>&lt;/a>
&lt;/div>
&lt;p>is rendered by:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">{{&amp;lt; cards &amp;gt;}}
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> {{&amp;lt; card url=&amp;#34;../callout&amp;#34; title=&amp;#34;Callout&amp;#34; icon=&amp;#34;academic-cap&amp;#34; &amp;gt;}}
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> {{&amp;lt; card url=&amp;#34;&amp;#34; title=&amp;#34;A card without an icon&amp;#34; &amp;gt;}}
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">{{&amp;lt; /cards &amp;gt;}}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="options">Options&lt;/h2>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Parameter&lt;/th>
&lt;th>Description&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;code>icon&lt;/code>&lt;/td>
&lt;td>Name of the icon. Defaults to
&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>title&lt;/code>&lt;/td>
&lt;td>Title heading for the card.&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>subtitle&lt;/code>&lt;/td>
&lt;td>Subtitle heading (supports Markdown).&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>url&lt;/code>&lt;/td>
&lt;td>URL&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table></description></item><item><title>Spoilers</title><link>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/toggle/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/toggle/</guid><description>&lt;p>A Hugo shortcode to toggle collapsible content.&lt;/p>
&lt;h2 id="example">Example&lt;/h2>
&lt;details class="spoiler " id="spoiler-0">
&lt;summary class="cursor-pointer">Click to view the spoiler&lt;/summary>
&lt;div class="rounded-lg bg-neutral-50 dark:bg-neutral-800 p-2">
&lt;p>You found me!&lt;/p>
&lt;p>Markdown is &lt;strong>supported&lt;/strong>.&lt;/p>
&lt;/div>
&lt;/details>
&lt;h2 id="usage">Usage&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">{{&amp;lt; spoiler text=&amp;#34;Click to view the spoiler&amp;#34; &amp;gt;}}
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">This is the content of the details.
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">Markdown is **supported**.
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">{{&amp;lt; /spoiler &amp;gt;}}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>Steps</title><link>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/steps/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://70dd5840.eleanor-godway-archive.pages.dev/courses/hugo-blox/guide/formatting/steps/</guid><description>&lt;p>Display a series of steps, such as for a tutorial.&lt;/p>
&lt;h2 id="example">Example&lt;/h2>
&lt;div class="hb-steps">
&lt;h3 id="step-1">Step 1&lt;/h3>
&lt;p>The first step here&amp;hellip;&lt;/p>
&lt;h3 id="step-2">Step 2&lt;/h3>
&lt;p>The second step here&amp;hellip;&lt;/p>
&lt;h3 id="step-3">Step 3&lt;/h3>
&lt;p>The third step here&amp;hellip;&lt;/p>
&lt;/div>
&lt;h2 id="usage">Usage&lt;/h2>
&lt;p>Use the Markdown level-3 headings to represent step titles within the &lt;code>steps&lt;/code> shortcode:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-fallback" data-lang="fallback">&lt;span class="line">&lt;span class="cl">{{% steps %}}
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">### Step 1
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">The first step here...
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">### Step 2
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">The second step here...
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">### Step 3
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">The third step here...
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">{{% /steps %}}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item></channel></rss>