<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title type="text">1.dblock.BLOG | tech blog</title>
<generator uri="https://github.com/mojombo/jekyll">Jekyll</generator>
<link rel="self" type="application/atom+xml" href="https://1.jar.io/feed.xml" />
<link rel="alternate" type="text/html" href="https://1.jar.io" />
<updated>2026-09-14T00:59:46+00:00</updated>
<id>https://1.jar.io/</id>
<author>
  <name>Daniel Doubrovkine</name>
  <uri>https://1.jar.io/</uri>
  
</author>


<entry>
  <title type="html"><![CDATA[Serving Markdown for AI Agents in Jekyll]]></title>
 <link rel="alternate" type="text/html" href="https://1.jar.io/2026/01/15/serving-markdown-for-ai-agents.html" />
  <id>https://1.jar.io/2026/01/15/serving-markdown-for-ai-agents</id>
  <published>2026-01-15T00:00:00+00:00</published>
  <updated>2026-01-15T00:00:00+00:00</updated>
  <author>
    <name>Daniel Doubrovkine</name>
    <uri>https://1.jar.io</uri>
    <email></email>
  </author>
  <content type="html">&lt;p&gt;Dries Buytaert recently wrote about &lt;a href=&quot;https://dri.es/the-third-audience&quot;&gt;The Third Audience&lt;/a&gt;. For decades, websites have targeted two audiences: humans and search engines. AI agents are now the third audience, and most websites aren’t optimized for them yet.&lt;/p&gt;

&lt;p&gt;AI agents prefer clean, structured content over HTML. Markdown is ideal - it’s readable, semantic, and free of navigation chrome. So I made this blog serve its source markdown files alongside the HTML.&lt;/p&gt;

&lt;h3 id=&quot;how-it-works&quot;&gt;How It Works&lt;/h3&gt;

&lt;p&gt;For every post like &lt;a href=&quot;/2026/01/15/serving-markdown-for-ai-agents.html&quot;&gt;/2026/01/15/serving-markdown-for-ai-agents.html&lt;/a&gt;, you can now fetch the source at &lt;a href=&quot;/2026/01/15/serving-markdown-for-ai-agents.md&quot;&gt;/2026/01/15/serving-markdown-for-ai-agents.md&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;AI agents can discover this via a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;link&amp;gt;&lt;/code&gt; tag in the HTML head:&lt;/p&gt;

&lt;div class=&quot;language-html highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nt&quot;&gt;&amp;lt;link&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;href=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;serving-markdown-for-ai-agents.md&quot;&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;type=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;text/markdown&quot;&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;rel=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;alternate&quot;&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;title=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Markdown&quot;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;implementation&quot;&gt;Implementation&lt;/h3&gt;

&lt;p&gt;Since this is a GitHub Pages blog, custom Jekyll plugins don’t work. Instead, I added a &lt;a href=&quot;https://github.com/dblock/code.dblock.org/blob/gh-pages/.github/workflows/deploy.yml&quot;&gt;GitHub Actions workflow&lt;/a&gt; that builds Jekyll and copies the markdown source files to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_site&lt;/code&gt; before deployment.&lt;/p&gt;

&lt;p&gt;The workflow extracts the date and slug from each post filename and copies it to the matching URL path with a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.md&lt;/code&gt; extension.&lt;/p&gt;

&lt;h3 id=&quot;should-you-do-this&quot;&gt;Should You Do This?&lt;/h3&gt;

&lt;p&gt;Dries raises a valid concern: are we just making it easier for AI companies to use our content without sending traffic back? Perhaps. But AI agents are already crawling our sites. Giving them cleaner input might lead to better attribution and more accurate responses that reference our work.&lt;/p&gt;

&lt;p&gt;The web has always been about making information accessible. This is just the next evolution.&lt;/p&gt;

&lt;p&gt;Plus, we will soon all work for AI anyway, so might as well get on its good side.&lt;/p&gt;

&lt;h3 id=&quot;meta&quot;&gt;Meta&lt;/h3&gt;

&lt;p&gt;This entire feature was implemented by &lt;a href=&quot;https://claude.ai&quot;&gt;Claude&lt;/a&gt;, and this post was written by it as well.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/dblock/code.dblock.org/commit/6fab9f3&quot;&gt;Added GitHub Actions workflow to deploy and serve markdown.&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/dblock/code.dblock.org/commit/45769b0&quot;&gt;Use Ruby 3.4 in deploy workflow.&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/dblock/code.dblock.org/commit/e5cb737&quot;&gt;Also serve page markdown files.&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/dblock/code.dblock.org/commit/fcff077&quot;&gt;Added link rel alternate for markdown discovery.&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/dblock/code.dblock.org/commit/e5eede2&quot;&gt;Moved markdown link to post layout.&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/dblock/code.dblock.org/commit/f6ae02a&quot;&gt;Fixed markdown alternate URL to remove .html.&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/dblock/code.dblock.org/commit/5ef474c&quot;&gt;Serving Markdown for AI Agents.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

  &lt;p&gt;&lt;a href=&quot;https://1.jar.io/2026/01/15/serving-markdown-for-ai-agents.html&quot;&gt;Serving Markdown for AI Agents in Jekyll&lt;/a&gt; was originally published by Daniel Doubrovkine at &lt;a href=&quot;https://1.jar.io&quot;&gt;1.dblock.BLOG | tech blog&lt;/a&gt; on January 15, 2026.&lt;/p&gt;</content>
</entry>

</feed>
