<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>writing on Test &amp; Code</title>
    <link>https://testandcode.org/tags/writing/</link>
    <description>Recent content in writing on Test &amp; Code</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 01 Jun 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://testandcode.org/tags/writing/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Markdown to PDF with pandoc and typst</title>
      <link>https://testandcode.org/posts/writing/markdown-to-pdf/</link>
      <pubDate>Mon, 01 Jun 2026 00:00:00 +0000</pubDate>
      <guid>https://testandcode.org/posts/writing/markdown-to-pdf/</guid>
      <description>&lt;h2 id=&#34;i-use-a-lot-of-markdown&#34;&gt;I use a lot of markdown&lt;/h2&gt;&#xA;&lt;p&gt;I like writing in markdown.&lt;br&gt;&#xA;So much so that I use it for everything.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Work documents&lt;/li&gt;&#xA;&lt;li&gt;Personal documents&lt;/li&gt;&#xA;&lt;li&gt;Books&lt;/li&gt;&#xA;&lt;li&gt;Blog posts&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;converting-to-pdf-has-been-difficult&#34;&gt;Converting to pdf has been difficult&lt;/h2&gt;&#xA;&lt;p&gt;Even though I write in markdown, in a lot of situations, it&amp;rsquo;s easier to read something if it&amp;rsquo;s formatted as a pdf.&lt;/p&gt;&#xA;&lt;p&gt;Converting has been a pain in the past.&lt;/p&gt;&#xA;&lt;p&gt;One process I&amp;rsquo;ve used occasionally was to use pandoc to convert markdown to html. Then open it in a browser, and print or save as pdf. Yuk.&#xA;I&amp;rsquo;ve also tried converting to docx, then opening in Word or Pages and saving as pdf. Similar yuk.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
