<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Markdown on /prəˈtruːd/</title>
    <link>https://to.protru.de/tags/markdown/</link>
    <description>Recent content in Markdown on /prəˈtruːd/</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 25 Jan 2022 12:41:21 +0100</lastBuildDate>
    <atom:link href="https://to.protru.de/tags/markdown/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Hugo Footnotes</title>
      <link>https://to.protru.de/hugo-footnotes/</link>
      <pubDate>Tue, 25 Jan 2022 12:41:21 +0100</pubDate>
      <guid>https://to.protru.de/hugo-footnotes/</guid>
      <description>&lt;p&gt;I was just scrolling though &lt;a href=&#34;https://www.markdownguide.org/tools/hugo/&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;this&lt;/a&gt; list of Markdown features supported by Hugo and noticed that footnotes was one of them.&#xA;I like footnotes a lot and had a quick look into using them before, but they didn&amp;rsquo;t work back then.&#xA;But that was maybe before I looked into using &lt;a href=&#34;https://gohugo.io/getting-started/configuration-markup#goldmark&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Goldmark&lt;/a&gt; as the Markdown processor when writing my last article about &lt;a href=&#34;https://to.protru.de/hugo-syntax-highlighting&#34; &gt;code syntax highlighting with Hugo&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h1 id=&#34;enabling-footnotes-with-goldmark&#34;&gt;&#xA;  Enabling footnotes with Goldmark&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#enabling-footnotes-with-goldmark&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;p&gt;So it seems I enabled them like this recently when I introduced &lt;a href=&#34;https://gohugo.io/getting-started/configuration-markup#goldmark&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Goldmark&lt;/a&gt;:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Hugo Syntax Highlighting</title>
      <link>https://to.protru.de/hugo-syntax-highlighting/</link>
      <pubDate>Mon, 24 Jan 2022 18:41:51 +0100</pubDate>
      <guid>https://to.protru.de/hugo-syntax-highlighting/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;#the-solution&#34; &gt;&lt;strong&gt;TL;DR&lt;/strong&gt; 🚀&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;As much as I like &lt;a href=&#34;https://gohugo.io/&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Hugo&lt;/a&gt;, trying to figure out syntax highlighting when writing the last post, wasn&amp;rsquo;t as straight forward as I wanted it to be. The information I was looking for was a bit all over the place.&lt;/p&gt;&#xA;&lt;p&gt;First it seems that Hugo is able to use different Markdown handlers. Basically different processors to generate HTML from Markdown. According to &lt;a href=&#34;https://en.wikipedia.org/wiki/Markdown&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Wikipedia&lt;/a&gt; Markdown was invented in 2004 by no other than &lt;a href=&#34;https://en.wikipedia.org/wiki/Aaron_Swartz&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Aaron Swartz&lt;/a&gt;.&#xA;And it also seems Hugo not only supports Markdown handlers, but also processors, which handle other formats, like &lt;code&gt;rst&lt;/code&gt;, &lt;code&gt;pandoc&lt;/code&gt; or even &lt;code&gt;HTML&lt;/code&gt;. Crazy, writing HTML like it&amp;rsquo;s the 90s 🙃&#xA;&lt;a href=&#34;https://gohugo.io/content-management/formats/#list-of-content-formats&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Here&lt;/a&gt; is a list of all content format options.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
