<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rich Media on John's Blog</title><link>https://portfolio.hugo-themes.com/subcategories/rich-media/</link><description>Recent content in Rich Media on John's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 02 Nov 2026 14:00:00 +0600</lastBuildDate><atom:link href="https://portfolio.hugo-themes.com/subcategories/rich-media/rss.xml" rel="self" type="application/rss+xml"/><item><title>Rich Media, Mermaid Diagrams, and Nested Sections</title><link>https://portfolio.hugo-themes.com/posts/diagrams-media-and-embeds/</link><pubDate>Mon, 02 Nov 2026 14:00:00 +0600</pubDate><guid>https://portfolio.hugo-themes.com/posts/diagrams-media-and-embeds/</guid><description>&lt;p&gt;Instead of maintaining deep folder trees on disk, posts stay flat while front-matter &lt;code&gt;categories&lt;/code&gt; and &lt;code&gt;subcategories&lt;/code&gt; organize navigation into an expandable hierarchy (&lt;code&gt;Authoring -&amp;gt; Rich Media&lt;/code&gt;) with matching breadcrumbs above.&lt;/p&gt;
&lt;h2 id="architecture-diagrams-with-mermaid"&gt;Architecture diagrams with Mermaid&lt;/h2&gt;
&lt;p&gt;When &lt;code&gt;mermaid: true&lt;/code&gt; is set (or a &lt;code&gt;mermaid&lt;/code&gt; shortcode is present), &lt;code&gt;blog/post-assets.html&lt;/code&gt; bundles Mermaid diagram rendering exclusively for pages that use it.&lt;/p&gt;
&lt;h3 id="request-pipeline-flowchart"&gt;Request pipeline flowchart&lt;/h3&gt;
&lt;pre class="modern-mermaid" data-align="center"&gt;
flowchart LR
A[Markdown &amp; Front Matter] --&gt; B[Hugo Content Tree]
B --&gt; C{Modern Blog Feature?}
C --&gt;|Yes| D[Modern Archive &amp; Reader]
C --&gt;|No| E[Legacy Bootstrap Layout]
&lt;/pre&gt;
&lt;h3 id="search-sequence-diagram"&gt;Search sequence diagram&lt;/h3&gt;
&lt;pre class="modern-mermaid" data-align="center"&gt;
sequenceDiagram
participant Reader
participant Dialog as Search Dialog
participant Index as Scoped JSON Index
Reader-&gt;&gt;Dialog: Press Cmd+K / Click Search
Dialog-&gt;&gt;Index: Lazy fetch language index
Index--&gt;&gt;Dialog: Matching posts &amp; snippets
Reader-&gt;&gt;Dialog: Arrow keys / Enter -&gt; Navigate
&lt;/pre&gt;
&lt;h2 id="co-located-media-bundles--html5-video"&gt;Co-located media bundles &amp;amp; HTML5 video&lt;/h2&gt;
&lt;p&gt;Images inside nested &lt;code&gt;images/&lt;/code&gt; subdirectories resolve cleanly via bundle resource URLs:&lt;/p&gt;</description></item></channel></rss>