<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>goldmark on jwogrady</title>
		<link>https://www.jwogrady.com/tags/goldmark/</link>
		<description>Recent content in goldmark on jwogrady</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 20 Sep 2026 16:24:00 -0500</lastBuildDate>
		
			<atom:link href="https://www.jwogrady.com/tags/goldmark/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Raw HTML disappears from markdown without saying anything</title>
				<link>https://www.jwogrady.com/posts/goldmark-strips-html/</link>
				<pubDate>Sun, 20 Sep 2026 16:24:00 -0500</pubDate>
				<guid>https://www.jwogrady.com/posts/goldmark-strips-html/</guid>
				<description>&lt;p&gt;Put an iframe in a markdown file and it renders as nothing. Not a broken&#xA;element, not a comment, not a warning in the build log. The element simply&#xA;isn&amp;rsquo;t in the HTML, as though I&amp;rsquo;d never typed it.&lt;/p&gt;&#xA;&lt;p&gt;Goldmark — Hugo&amp;rsquo;s markdown renderer — discards raw HTML unless you tell it&#xA;otherwise:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[&lt;span style=&#34;color:#a6e22e&#34;&gt;markup&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;goldmark&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;renderer&lt;/span&gt;]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;unsafe&lt;/span&gt; = &lt;span style=&#34;color:#66d9ef&#34;&gt;true&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I&amp;rsquo;ll defend the name. It&amp;rsquo;s site-wide and it re-enables &lt;em&gt;all&lt;/em&gt; raw HTML in&#xA;&lt;em&gt;all&lt;/em&gt; markdown, which is a sensible thing to refuse when content might come&#xA;from someone else, and a sensible thing to allow on a personal site where I&#xA;wrote every file.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
