<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>hypertext &amp;mdash; Nat Knight</title>
    <link>http://natknight.xyz/tag:hypertext</link>
    <description>Reflections, diversions, and opinions from a progressive ex-physicist programmer dad with a sore back.</description>
    <pubDate>Sun, 24 May 2026 14:18:58 -0700</pubDate>
    <item>
      <title>Web Tool: Text Fragment URL Generator</title>
      <link>http://natknight.xyz/web-tool-text-fragment-url-generator</link>
      <description>&lt;![CDATA[#webtool #hypertext #web&#xA;&#xA;After yet another fight with the syntax for text fragments in URLs (which I&#39;ve written about before) I had Claude whip up a little app for constructing and testing them.&#xA;&#xA;It&#39;s published here.]]&gt;</description>
      <content:encoded><![CDATA[<p><a href="http://natknight.xyz/tag:webtool" class="hashtag"><span>#</span><span class="p-category">webtool</span></a> <a href="http://natknight.xyz/tag:hypertext" class="hashtag"><span>#</span><span class="p-category">hypertext</span></a> <a href="http://natknight.xyz/tag:web" class="hashtag"><span>#</span><span class="p-category">web</span></a></p>

<p>After yet another fight with the syntax for <a href="https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment/Text_fragments">text fragments in URLs</a> (which I&#39;ve <a href="https://natknight.xyz/til-text-fragments">written about before</a>) I had Claude whip up a little app for constructing and testing them.</p>

<p>It&#39;s published <a href="https://claude.site/artifacts/75a71321-3648-446d-a576-57946d47855e">here</a>.</p>
]]></content:encoded>
      <guid>http://natknight.xyz/web-tool-text-fragment-url-generator</guid>
      <pubDate>Tue, 15 Apr 2025 18:30:41 +0000</pubDate>
    </item>
    <item>
      <title>TIL: Text Fragments</title>
      <link>http://natknight.xyz/til-text-fragments</link>
      <description>&lt;![CDATA[#web #hypertext&#xA;&#xA;Or &#34;how you can link to arbitrary text on a webpage&#34;.&#xA;&#xA;The syntax is a little weird, but you can add a specially formatted anchor to a URL to link to a snippet of text.&#xA;&#xA;The syntax is:&#xA;&#xA;https://example.com#:~:text=prefix-,]textStart[,textEnd&#xA;&#xA;I find it particularly useful for linking to a quote in a longer article.&#xA;&#xA;See MDN for the full documentation.&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p><a href="http://natknight.xyz/tag:web" class="hashtag"><span>#</span><span class="p-category">web</span></a> <a href="http://natknight.xyz/tag:hypertext" class="hashtag"><span>#</span><span class="p-category">hypertext</span></a></p>

<p>Or “how you can link to arbitrary text on a webpage”.</p>

<p>The syntax is a little weird, but you can add a specially formatted <a href="https://developer.mozilla.org/en-US/docs/Learn_web_development/Howto/Web_mechanics/What_is_a_URL#anchor">anchor</a> to a URL to link to a snippet of text.</p>

<p>The syntax is:</p>

<pre><code>https://example.com#:~:text=[prefix-,]textStart[,textEnd][,-suffix]
</code></pre>

<p>I find it particularly useful for linking to a quote in a longer article.</p>

<p>See <a href="https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment/Text_fragments">MDN for the full documentation</a>.</p>
]]></content:encoded>
      <guid>http://natknight.xyz/til-text-fragments</guid>
      <pubDate>Fri, 21 Feb 2025 06:13:34 +0000</pubDate>
    </item>
  </channel>
</rss>