<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Blog on Wesley's Blog</title><link>https://wesleyhitson.com/tags/blog/</link><description>Recent content in Blog on Wesley's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 20 Sep 2026 21:31:34 -0400</lastBuildDate><atom:link href="https://wesleyhitson.com/tags/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>Diagrams</title><link>https://wesleyhitson.com/posts/diagrams-in-markdown/diagrams-in-markdown/</link><pubDate>Sun, 20 Sep 2026 21:31:34 -0400</pubDate><guid>https://wesleyhitson.com/posts/diagrams-in-markdown/diagrams-in-markdown/</guid><description>&lt;p&gt;Today I learned about &lt;a href="https://mermaid.ai/open-source/?utm_medium=hero&amp;amp;utm_campaign=variant_a&amp;amp;utm_source=mermaid_js"&gt;Mermaid&lt;/a&gt;, which lets you make diagrams in Markdown! You just make a code block with the type &lt;code&gt;mermaid&lt;/code&gt; and then there are several different types of charts you can make. Super useful for throwing a quick chart together. However, in order for this to work on my site (which doesn&amp;rsquo;t natively support it unlike the VS Code Markdown preview), I need to create a Markdown Render Hook. That means creating &lt;code&gt;layouts/_default/_markup/render-codeblock-mermaid.html&lt;/code&gt; (create that dir since it doesn&amp;rsquo;t exist yet, and the file name is very specific). This loads Mermaid.js from the jsdelivr CDN and makes sure it only loads once. I also need to check the blog theme to match light/dark mode.&lt;/p&gt;</description></item></channel></rss>