<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Nojs on Cat in a Shell</title>
		<link>https://catinashell.de/tags/nojs/</link>
		<description>Recent content in Nojs on Cat in a Shell</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sat, 11 Jul 2026 16:37:23 +0200</lastBuildDate>
		
			<atom:link href="https://catinashell.de/tags/nojs/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Hugo Server Side Mermaid Rendering</title>
				<link>https://catinashell.de/posts/hugo-server-side-mermaid-rendering/</link>
				<pubDate>Sat, 11 Jul 2026 14:03:00 +0200</pubDate>
				<guid>https://catinashell.de/posts/hugo-server-side-mermaid-rendering/</guid>
				<description>&lt;p&gt;This diagram is rendered during hugo build and served as a static svg.&lt;/p&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&lt;div class=&#34;mermaid-diagram&#34;&gt;&#xA;  &#xA;    &#xA;    &#xA;    &lt;img class=&#34;mermaid-light&#34; src=&#34;https://catinashell.de/svg_14587722597978374570.svg&#34; alt=&#34;Diagram&#34;&gt;&#xA;  &#xA;  &#xA;    &#xA;    &#xA;    &lt;img class=&#34;mermaid-dark&#34; src=&#34;https://catinashell.de/svg_10056839910447859318.svg&#34; alt=&#34;Diagram&#34;&gt;&#xA;  &#xA;&lt;/div&gt;&lt;p&gt;Most websites just use the mermiad js library and let each user render the diagrams client-side. But this is a imo pretty trashy solution, since it requires each visitor to run javascript (which no one should do &amp;hellip;; read more in my &lt;a href=&#34;https://catinashell.de/about#nojs&#34;&gt;about section&lt;/a&gt;).&lt;/p&gt;&#xA;&lt;style&gt;&#xA;.heading {&#xA;    text-decoration: none;&#xA;}&#xA;.heading:hover {&#xA;    color: rgba(200,200,255,0.7);&#xA;}&#xA;.heading-anchor {&#xA;    margin-left: -1em;&#xA;    position: absolute;&#xA;    opacity: 0;&#xA;    text-decoration: none;&#xA;    transition: opacity 0.15s;&#xA;}&#xA;h1:hover .heading-anchor,&#xA;h2:hover .heading-anchor,&#xA;h3:hover .heading-anchor,&#xA;h4:hover .heading-anchor,&#xA;h5:hover .heading-anchor,&#xA;h6:hover .heading-anchor {&#xA;    opacity: 1;&#xA;}&#xA;&lt;/style&gt;&#xA;&#xA;&lt;a href=&#34;#how-to-make-hugo-render-mermaid-diagrams-during-build&#34; class=&#34;heading&#34;&gt;&#xA;&lt;h2 id=&#34;how-to-make-hugo-render-mermaid-diagrams-during-build&#34;&gt;&#xA;    &lt;div class=&#34;heading-anchor&#34; aria-label=&#34;Link to this section&#34;&gt;&#xA;        #&#xA;    &lt;/div&gt;&#xA;    How to make Hugo render Mermaid Diagrams during Build&#xA;&#xA;&lt;/h2&gt;&#xA;&lt;/a&gt;&#xA;&lt;p&gt;In the end you can just write in your markdown files:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
