<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>markdown &amp;mdash; Demo</title>
    <link>https://qua.name/demo/tag:markdown</link>
    <description>A playground for trying WriteFreely on qua.name. Log in as demo / demo; everything resets nightly at 04:00 Amsterdam time.</description>
    <pubDate>Tue, 01 Dec 2026 04:32:06 +0100</pubDate>
    <item>
      <title>Markdown basics</title>
      <link>https://qua.name/demo/markdown-basics</link>
      <description>&lt;![CDATA[WriteFreely posts are written in Markdown: plain text with a few conventions for formatting. Each example below shows what you type, then what you get.&#xA;&#xA;Headings&#xA;&#xA;Start a line with one or more # signs and a space. The post&#39;s own title is set separately, so inside a post you will mostly use two or three.&#xA;&#xA;~markdown&#xA;A small heading&#xA;An even smaller one&#xA;~&#xA;&#xA;A small heading&#xA;An even smaller one&#xA;&#xA;Emphasis&#xA;&#xA;~markdown&#xA;Italic, bold, both and struck through.&#xA;~&#xA;&#xA;Italic, bold, both and struck through.&#xA;&#xA;Underscores work too (italic), but they also act inside words, so put names like filenamehere in backticks (see Code).&#xA;&#xA;Lists&#xA;&#xA;~markdown&#xA;Paper&#xA;Pens&#xA;  Fountain pen&#xA;  Pencil&#xA;&#xA;Write&#xA;Read it again&#xA;Publish&#xA;~&#xA;&#xA;Paper&#xA;Pens&#xA;  Fountain pen&#xA;  Pencil&#xA;&#xA;Write&#xA;Read it again&#xA;Publish&#xA;&#xA;Quotes&#xA;&#xA;~markdown&#xA;  The first draft of anything is rubbish.&#xA;      A quote inside a quote.&#xA;~&#xA;&#xA;  The first draft of anything is rubbish.&#xA;      A quote inside a quote.&#xA;&#xA;Links&#xA;&#xA;~markdown&#xA;Read the writer&#39;s guide,&#xA;or paste a bare address: https://writefreely.org&#xA;~&#xA;&#xA;Read the writer&#39;s guide,&#xA;or paste a bare address: https://writefreely.org&#xA;&#xA;Links to other posts on the same blog can be short, like Start here.&#xA;&#xA;Horizontal rule&#xA;&#xA;Three hyphens on a line of their own, with a blank line above:&#xA;&#xA;~markdown&#xA;Above the line.&#xA;&#xA;---&#xA;&#xA;Below the line.&#xA;~&#xA;&#xA;Above the line.&#xA;&#xA;---&#xA;&#xA;Below the line.&#xA;&#xA;Tables&#xA;&#xA;Colons in the second row set the alignment of a column.&#xA;&#xA;~markdown&#xA;| Format   | Dates shown | Order         |&#xA;|----------|:-----------:|---------------|&#xA;| Blog     | yes         | newest first  |&#xA;| Novel    | no          | oldest first  |&#xA;| Notebook | no          | newest first  |&#xA;~&#xA;&#xA;| Format   | Dates shown | Order         |&#xA;|----------|:-----------:|---------------|&#xA;| Blog     | yes         | newest first  |&#xA;| Novel    | no          | oldest first  |&#xA;| Notebook | no          | newest first  |&#xA;&#xA;A little HTML&#xA;&#xA;Some HTML is allowed as well, for things Markdown has no syntax for. Scripts are removed.&#xA;&#xA;~markdown&#xA;Hsub2/subO, E = mcsup2/sup, a markhighlighted/mark word&#xA;and abbr title=&#34;Markdown&#34;MD/abbr with a tooltip.&#xA;~&#xA;&#xA;Hsub2/subO, E = mcsup2/sup, a markhighlighted/mark word&#xA;and abbr title=&#34;Markdown&#34;MD/abbr with a tooltip.&#xA;&#xA;Typography for free&#xA;&#xA;Straight &#34;quotes&#34; are turned into curly ones, and two hyphens -- like that -- become a dash. In code they are left alone.&#xA;&#xA;Not supported&#xA;&#xA;Footnotes and task-list checkboxes are not part of WriteFreely&#39;s Markdown; ` and [ ]` stay as plain text.&#xA;&#xA;#markdown #writing&#xA;&#xA;This is a demo post on qua.name; see About this demo.]]&gt;</description>
      <content:encoded><![CDATA[<p>WriteFreely posts are written in Markdown: plain text with a few conventions for formatting. Each example below shows what you type, then what you get.</p>

<h2 id="headings">Headings</h2>

<p>Start a line with one or more <code>#</code> signs and a space. The post&#39;s own title is set separately, so inside a post you will mostly use two or three.</p>

<pre><code class="language-markdown">### A small heading
#### An even smaller one
</code></pre>

<h3 id="a-small-heading">A small heading</h3>

<h4 id="an-even-smaller-one">An even smaller one</h4>

<h2 id="emphasis">Emphasis</h2>

<pre><code class="language-markdown">*Italic*, **bold**, ***both*** and ~~struck through~~.
</code></pre>

<p><em>Italic</em>, <strong>bold</strong>, <strong><em>both</em></strong> and <del>struck through</del>.</p>

<p>Underscores work too (<code>_italic_</code>), but they also act inside words, so put names like <code>file_name_here</code> in backticks (see <a href="/demo/code-blocks" rel="nofollow">Code</a>).</p>

<h2 id="lists">Lists</h2>

<pre><code class="language-markdown">- Paper
- Pens
  - Fountain pen
  - Pencil

1. Write
2. Read it again
3. Publish
</code></pre>
<ul><li>Paper</li>
<li>Pens
<ul><li>Fountain pen</li>
<li>Pencil</li></ul></li></ul>
<ol><li>Write</li>
<li>Read it again</li>
<li>Publish</li></ol>

<h2 id="quotes">Quotes</h2>

<pre><code class="language-markdown">&gt; The first draft of anything is rubbish.
&gt;
&gt; &gt; A quote inside a quote.
</code></pre>

<blockquote><p>The first draft of anything is rubbish.</p>

<blockquote><p>A quote inside a quote.</p></blockquote>
</blockquote>

<h2 id="links">Links</h2>

<pre><code class="language-markdown">Read the [writer&#39;s guide](https://writefreely.org/docs/latest/writer),
or paste a bare address: https://writefreely.org
</code></pre>

<p>Read the <a href="https://writefreely.org/docs/latest/writer" rel="nofollow">writer&#39;s guide</a>,
or paste a bare address: <a href="https://writefreely.org" rel="nofollow">https://writefreely.org</a></p>

<p>Links to other posts on the same blog can be short, like <code>[Start here](/demo/start-here)</code>.</p>

<h2 id="horizontal-rule">Horizontal rule</h2>

<p>Three hyphens on a line of their own, with a blank line above:</p>

<pre><code class="language-markdown">Above the line.

---

Below the line.
</code></pre>

<p>Above the line.</p>

<hr>

<p>Below the line.</p>

<h2 id="tables">Tables</h2>

<p>Colons in the second row set the alignment of a column.</p>

<pre><code class="language-markdown">| Format   | Dates shown | Order         |
|----------|:-----------:|---------------|
| Blog     | yes         | newest first  |
| Novel    | no          | oldest first  |
| Notebook | no          | newest first  |
</code></pre>

<table>
<thead>
<tr>
<th>Format</th>
<th align="center">Dates shown</th>
<th>Order</th>
</tr>
</thead>

<tbody>
<tr>
<td>Blog</td>
<td align="center">yes</td>
<td>newest first</td>
</tr>

<tr>
<td>Novel</td>
<td align="center">no</td>
<td>oldest first</td>
</tr>

<tr>
<td>Notebook</td>
<td align="center">no</td>
<td>newest first</td>
</tr>
</tbody>
</table>

<h2 id="a-little-html">A little HTML</h2>

<p>Some HTML is allowed as well, for things Markdown has no syntax for. Scripts are removed.</p>

<pre><code class="language-markdown">H&lt;sub&gt;2&lt;/sub&gt;O, E = mc&lt;sup&gt;2&lt;/sup&gt;, a &lt;mark&gt;highlighted&lt;/mark&gt; word
and &lt;abbr title=&#34;Markdown&#34;&gt;MD&lt;/abbr&gt; with a tooltip.
</code></pre>

<p>H<sub>2</sub>O, E = mc<sup>2</sup>, a <mark>highlighted</mark> word
and <abbr title="Markdown">MD</abbr> with a tooltip.</p>

<h2 id="typography-for-free">Typography for free</h2>

<p>Straight “quotes” are turned into curly ones, and two hyphens — like that — become a dash. In code they are left alone.</p>

<h2 id="not-supported">Not supported</h2>

<p>Footnotes and task-list checkboxes are not part of WriteFreely&#39;s Markdown; <code>[^1]</code> and <code>[ ]</code> stay as plain text.</p>

<p><a href="/demo/tag:markdown" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">markdown</span></a> <a href="/demo/tag:writing" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">writing</span></a></p>

<p><em>This is a demo post on <a href="https://qua.name" rel="nofollow">qua.name</a>; see <a href="/demo/about-this-demo" rel="nofollow">About this demo</a>.</em></p>
]]></content:encoded>
      <guid>https://qua.name/demo/markdown-basics</guid>
      <pubDate>Mon, 30 Nov 2026 04:00:11 +0100</pubDate>
    </item>
    <item>
      <title>Code</title>
      <link>https://qua.name/demo/code-blocks</link>
      <description>&lt;![CDATA[Put short bits of code inside a sentence between backticks: git status, filenamehere, br. Inside backticks nothing is formatted, so underscores, asterisks and angle brackets stay as typed.&#xA;&#xA;Code blocks&#xA;&#xA;For longer code, put three backticks on the line above and below. Add a language name right after the opening backticks to get syntax highlighting:&#xA;&#xA;~markdown&#xA;def greet(name):&#xA;    return f&#34;Hello, {name}!&#34;&#xA;~&#xA;&#xA;This becomes:&#xA;&#xA;def greet(name):&#xA;    return f&#34;Hello, {name}!&#34;&#xA;&#xA;Without a language name the block is shown as plain monospaced text:&#xA;&#xA;No language given, so no colours.&#xA;    Indentation and   spacing are kept.&#xA;&#xA;A few more languages&#xA;&#xA;package main&#xA;&#xA;import &#34;fmt&#34;&#xA;&#xA;func main() {&#xA;&#x9;fmt.Println(&#34;Hello from Go&#34;)&#xA;}&#xA;&#xA;back up the drafts folder&#xA;tar czf drafts-$(date +%F).tar.gz ~/drafts&#xA;&#xA;(defun count-words-in-buffer ()&#xA;  &#34;Show the number of words in the buffer.&#34;&#xA;  (interactive)&#xA;  (message &#34;%d words&#34; (count-words (point-min) (point-max))))&#xA;&#xA;p class=&#34;note&#34;Hello, emworld/em./p&#xA;&#xA;SELECT title, created FROM posts WHERE created   &#39;2026-01-01&#39; ORDER BY created DESC;&#xA;&#xA;Which language names work?&#xA;&#xA;Highlighting is done in your reader&#39;s browser by highlight.js, and only for blocks that have a language name. WriteFreely ships highlight.js language files for about 180 languages, from bash, c, cpp, css, go, java, javascript, json, python, ruby, rust, sql and yaml to fortran, haskell, lisp, ocaml and x86asm.&#xA;&#xA;It also understands a few short forms: sh for bash, js and jsx for JavaScript, html for HTML/XML, and c, h or c++ for C/C++.&#xA;&#xA;#code #markdown&#xA;&#xA;This is a demo post on qua.name; see About this demo.]]&gt;</description>
      <content:encoded><![CDATA[<p>Put short bits of code inside a sentence between backticks: <code>git status</code>, <code>file_name_here</code>, <code>&lt;br&gt;</code>. Inside backticks nothing is formatted, so underscores, asterisks and angle brackets stay as typed.</p>

<h2 id="code-blocks">Code blocks</h2>

<p>For longer code, put three backticks on the line above and below. Add a language name right after the opening backticks to get syntax highlighting:</p>

<pre><code class="language-markdown">```python
def greet(name):
    return f&#34;Hello, {name}!&#34;
```
</code></pre>

<p>This becomes:</p>

<pre><code class="language-python">def greet(name):
    return f&#34;Hello, {name}!&#34;
</code></pre>

<p>Without a language name the block is shown as plain monospaced text:</p>

<pre><code>No language given, so no colours.
    Indentation and   spacing are kept.
</code></pre>

<h2 id="a-few-more-languages">A few more languages</h2>

<pre><code class="language-go">package main

import &#34;fmt&#34;

func main() {
	fmt.Println(&#34;Hello from Go&#34;)
}
</code></pre>

<pre><code class="language-sh"># back up the drafts folder
tar czf drafts-$(date +%F).tar.gz ~/drafts
</code></pre>

<pre><code class="language-lisp">(defun count-words-in-buffer ()
  &#34;Show the number of words in the buffer.&#34;
  (interactive)
  (message &#34;%d words&#34; (count-words (point-min) (point-max))))
</code></pre>

<pre><code class="language-html">&lt;p class=&#34;note&#34;&gt;Hello, &lt;em&gt;world&lt;/em&gt;.&lt;/p&gt;
</code></pre>

<pre><code class="language-sql">SELECT title, created FROM posts WHERE created &gt; &#39;2026-01-01&#39; ORDER BY created DESC;
</code></pre>

<h2 id="which-language-names-work">Which language names work?</h2>

<p>Highlighting is done in your reader&#39;s browser by <a href="https://highlightjs.org" rel="nofollow">highlight.js</a>, and only for blocks that have a language name. WriteFreely ships highlight.js language files for about 180 languages, from <code>bash</code>, <code>c</code>, <code>cpp</code>, <code>css</code>, <code>go</code>, <code>java</code>, <code>javascript</code>, <code>json</code>, <code>python</code>, <code>ruby</code>, <code>rust</code>, <code>sql</code> and <code>yaml</code> to <code>fortran</code>, <code>haskell</code>, <code>lisp</code>, <code>ocaml</code> and <code>x86asm</code>.</p>

<p>It also understands a few short forms: <code>sh</code> for bash, <code>js</code> and <code>jsx</code> for JavaScript, <code>html</code> for HTML/XML, and <code>c</code>, <code>h</code> or <code>c++</code> for C/C++.</p>

<p><a href="/demo/tag:code" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">code</span></a> <a href="/demo/tag:markdown" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">markdown</span></a></p>

<p><em>This is a demo post on <a href="https://qua.name" rel="nofollow">qua.name</a>; see <a href="/demo/about-this-demo" rel="nofollow">About this demo</a>.</em></p>
]]></content:encoded>
      <guid>https://qua.name/demo/code-blocks</guid>
      <pubDate>Sun, 29 Nov 2026 04:00:11 +0100</pubDate>
    </item>
    <item>
      <title>Maths</title>
      <link>https://qua.name/demo/maths</link>
      <description>&lt;![CDATA[This blog has MathJax switched on (in the blog settings, under Text Rendering), so you can write formulas in TeX notation and they are typeset in the reader&#39;s browser.&#xA;&#xA;Inline formulas&#xA;&#xA;Wrap a formula in single dollar signs, or in \\( and \\):&#xA;&#xA;~markdown&#xA;Pythagoras: $a^2 + b^2 = c^2$, and Euler: \\(e^{i\pi} + 1 = 0\\).&#xA;~&#xA;&#xA;Pythagoras: $a^2 + b^2 = c^2$, and Euler: \\(e^{i\pi} + 1 = 0\\).&#xA;&#xA;Displayed formulas&#xA;&#xA;Use double dollar signs, or \\[ and \\], for a formula on its own line:&#xA;&#xA;~markdown&#xA;$$&#xA;x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}&#xA;$$&#xA;&#xA;\\[ \int\{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi} \\]&#xA;~&#xA;&#xA;$$&#xA;x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}&#xA;$$&#xA;&#xA;\\[ \int\{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi} \\]&#xA;&#xA;A sum and a matrix:&#xA;&#xA;~markdown&#xA;$$&#xA;\sum\{k=1}^{n} k = \frac{n(n+1)}{2}&#xA;\qquad&#xA;\begin{pmatrix} a &amp; b \\\\ c &amp; d \end{pmatrix}&#xA;$$&#xA;~&#xA;&#xA;$$&#xA;\sum\{k=1}^{n} k = \frac{n(n+1)}{2}&#xA;\qquad&#xA;\begin{pmatrix} a &amp; b \\\\ c &amp; d \end{pmatrix}&#xA;$$&#xA;&#xA;Markdown goes first&#xA;&#xA;Your post is turned from Markdown into HTML before MathJax sees it, and Markdown has its own uses for some characters. That is why the examples above look a little odd:&#xA;&#xA;A backslash in front of punctuation is a Markdown escape and disappears. Where TeX needs one, type two: \\(, \\[, \\{, and four for a line break, \\\\.&#xA;Underscores and asterisks can turn into italics. Write \_ and \ inside formulas.&#xA;A hyphen with spaces on both sides becomes a dash, so write b^2-4ac rather than b^2 - 4ac.&#xA;With dollar signs switched on, two prices in one paragraph look like a formula. Write \$ for a literal dollar sign: it costs \$5, or \$10 for two.&#xA;&#xA;The editor&#39;s Preview shows the Markdown result but does not typeset formulas; open the published post to see those.&#xA;&#xA;Where formulas don&#39;t render&#xA;&#xA;MathJax runs on the blog&#39;s own pages. Elsewhere, for example in a Mastodon timeline, readers see the TeX source instead.&#xA;&#xA;#maths #markdown&#xA;&#xA;This is a demo post on qua.name; see About this demo.*]]&gt;</description>
      <content:encoded><![CDATA[<p>This blog has MathJax switched on (in the blog settings, under <strong>Text Rendering</strong>), so you can write formulas in TeX notation and they are typeset in the reader&#39;s browser.</p>

<h2 id="inline-formulas">Inline formulas</h2>

<p>Wrap a formula in single dollar signs, or in <code>\\(</code> and <code>\\)</code>:</p>

<pre><code class="language-markdown">Pythagoras: $a^2 + b^2 = c^2$, and Euler: \\(e^{i\pi} + 1 = 0\\).
</code></pre>

<p>Pythagoras: $a^2 + b^2 = c^2$, and Euler: \(e^{i\pi} + 1 = 0\).</p>

<h2 id="displayed-formulas">Displayed formulas</h2>

<p>Use double dollar signs, or <code>\\[</code> and <code>\\]</code>, for a formula on its own line:</p>

<pre><code class="language-markdown">$$
x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}
$$

\\[ \int\_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi} \\]
</code></pre>

<p>$$
x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}
$$</p>

<p>\[ \int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi} \]</p>

<p>A sum and a matrix:</p>

<pre><code class="language-markdown">$$
\sum\_{k=1}^{n} k = \frac{n(n+1)}{2}
\qquad
\begin{pmatrix} a &amp; b \\\\ c &amp; d \end{pmatrix}
$$
</code></pre>

<p>$$
\sum_{k=1}^{n} k = \frac{n(n+1)}{2}
\qquad
\begin{pmatrix} a &amp; b \\ c &amp; d \end{pmatrix}
$$</p>

<h2 id="markdown-goes-first">Markdown goes first</h2>

<p>Your post is turned from Markdown into HTML before MathJax sees it, and Markdown has its own uses for some characters. That is why the examples above look a little odd:</p>
<ul><li>A backslash in front of punctuation is a Markdown escape and disappears. Where TeX needs one, type two: <code>\\(</code>, <code>\\[</code>, <code>\\{</code>, and four for a line break, <code>\\\\</code>.</li>
<li>Underscores and asterisks can turn into italics. Write <code>\_</code> and <code>\*</code> inside formulas.</li>
<li>A hyphen with spaces on both sides becomes a dash, so write <code>b^2-4ac</code> rather than <code>b^2 - 4ac</code>.</li>
<li>With dollar signs switched on, two prices in one paragraph look like a formula. Write <code>\$</code> for a literal dollar sign: it costs \$5, or \$10 for two.</li></ul>

<p>The editor&#39;s <strong>Preview</strong> shows the Markdown result but does not typeset formulas; open the published post to see those.</p>

<h2 id="where-formulas-don-t-render">Where formulas don&#39;t render</h2>

<p>MathJax runs on the blog&#39;s own pages. Elsewhere, for example in a Mastodon timeline, readers see the TeX source instead.</p>

<p><a href="/demo/tag:maths" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">maths</span></a> <a href="/demo/tag:markdown" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">markdown</span></a></p>

<p><em>This is a demo post on <a href="https://qua.name" rel="nofollow">qua.name</a>; see <a href="/demo/about-this-demo" rel="nofollow">About this demo</a>.</em></p>
]]></content:encoded>
      <guid>https://qua.name/demo/maths</guid>
      <pubDate>Sat, 28 Nov 2026 04:00:11 +0100</pubDate>
    </item>
    <item>
      <title>Images and embeds</title>
      <link>https://qua.name/demo/images-and-embeds</link>
      <description>&lt;![CDATA[WriteFreely does not store images itself. You put the picture somewhere on the web (your own site, a photo host, any address that serves the image file) and paste its URL into your post.&#xA;&#xA;Adding an image&#xA;&#xA;~markdown&#xA;Close-up of the gold nib of a black fountain pen over a page of handwriting in black ink&#xA;~&#xA;&#xA;Close-up of the gold nib of a black fountain pen over a page of handwriting in black ink&#xA;&#xA;Writing with a fountain pen. Photo: Petar Milosevic, CC BY-SA 4.0, via Wikimedia Commons.jpg).&#xA;&#xA;The text in the square brackets is the alt text: a short description for people who can&#39;t see the picture. Write it for every image. When the post goes out to the fediverse, WriteFreely attaches the image and sends the alt text along as its description. That only works with the Markdown syntax above, not with an HTML img tag.&#xA;&#xA;WriteFreely has no caption field, so the credit lines on this page are just an italic paragraph under each picture.&#xA;&#xA;Hovering and linking&#xA;&#xA;A text in quotes after the URL becomes a tooltip. Wrap the whole image in a link to make it clickable, for example to open the full-size picture:&#xA;&#xA;~markdown&#xA;A large octagonal reading room under a white dome with skylights, seen from a high balcony, with rows of desks radiating from the centre&#xA;~&#xA;&#xA;A large octagonal reading room under a white dome with skylights, seen from a high balcony, with rows of desks radiating from the centre&#xA;&#xA;La Trobe Reading Room, State Library of Victoria, Melbourne, seen from the 5th floor. Photo: Diliff, CC BY 2.5, via Wikimedia Commons.&#xA;&#xA;Old pictures, too&#xA;&#xA;Black-and-white photo of a young woman in a hat working a large calculating machine with many rows of keys, while men in suits and bowler hats look on&#xA;&#xA;Paris, 24 April 1921: the first contest of calculating machines (Magic City, rue de l&#39;Universite). Photo: Agence Rol, public domain, via Wikimedia Commons.&#xA;&#xA;If you use pictures made by someone else, check the licence and credit them the way it asks.&#xA;&#xA;Video, audio and embeds&#xA;&#xA;There is no embed button. WriteFreely does let a few HTML elements through: video and audio for media files you host somewhere, and iframe for players from other sites. Scripts are always removed, so embeds that need JavaScript in the page itself won&#39;t work.&#xA;&#xA;This blog doesn&#39;t show an embedded player, because most video sites track their visitors. A plain link to the video does the job, and lets your readers choose.&#xA;&#xA;#images #markdown&#xA;&#xA;This is a demo post on qua.name; see About this demo.]]&gt;</description>
      <content:encoded><![CDATA[<p>WriteFreely does not store images itself. You put the picture somewhere on the web (your own site, a photo host, any address that serves the image file) and paste its URL into your post.</p>

<h2 id="adding-an-image">Adding an image</h2>

<pre><code class="language-markdown">![Close-up of the gold nib of a black fountain pen over a page of handwriting in black ink](https://qua.name/img/demo/fountain-pen.jpg)
</code></pre>

<p><img src="https://qua.name/img/demo/fountain-pen.jpg" alt="Close-up of the gold nib of a black fountain pen over a page of handwriting in black ink"></p>

<p><em>Writing with a fountain pen. Photo: Petar Milosevic, <a href="https://creativecommons.org/licenses/by-sa/4.0" rel="nofollow">CC BY-SA 4.0</a>, via <a href="https://commons.wikimedia.org/w/index.php?title=File:Fountain_pen_writing_(literacy).jpg" rel="nofollow">Wikimedia Commons</a>.</em></p>

<p>The text in the square brackets is the <strong>alt text</strong>: a short description for people who can&#39;t see the picture. Write it for every image. When the post goes out to the fediverse, WriteFreely attaches the image and sends the alt text along as its description. That only works with the Markdown syntax above, not with an HTML <code>&lt;img&gt;</code> tag.</p>

<p>WriteFreely has no caption field, so the credit lines on this page are just an italic paragraph under each picture.</p>

<h2 id="hovering-and-linking">Hovering and linking</h2>

<p>A text in quotes after the URL becomes a tooltip. Wrap the whole image in a link to make it clickable, for example to open the full-size picture:</p>

<pre><code class="language-markdown">[![A large octagonal reading room under a white dome with skylights, seen from a high balcony, with rows of desks radiating from the centre](https://qua.name/img/demo/reading-room.jpg &#34;La Trobe Reading Room&#34;)](https://qua.name/img/demo/reading-room.jpg)
</code></pre>

<p><a href="https://qua.name/img/demo/reading-room.jpg" rel="nofollow"><img src="https://qua.name/img/demo/reading-room.jpg" alt="A large octagonal reading room under a white dome with skylights, seen from a high balcony, with rows of desks radiating from the centre" title="La Trobe Reading Room"></a></p>

<p><em>La Trobe Reading Room, State Library of Victoria, Melbourne, seen from the 5th floor. Photo: Diliff, <a href="https://creativecommons.org/licenses/by/2.5" rel="nofollow">CC BY 2.5</a>, via <a href="https://commons.wikimedia.org/w/index.php?title=File:State_Library_of_Victoria_La_Trobe_Reading_room_5th_floor_view.jpg" rel="nofollow">Wikimedia Commons</a>.</em></p>

<h2 id="old-pictures-too">Old pictures, too</h2>

<p><img src="https://qua.name/img/demo/machines-1921.jpg" alt="Black-and-white photo of a young woman in a hat working a large calculating machine with many rows of keys, while men in suits and bowler hats look on"></p>

<p><em>Paris, 24 April 1921: the first contest of calculating machines (Magic City, rue de l&#39;Universite). Photo: Agence Rol, public domain, via <a href="https://commons.wikimedia.org/w/index.php?title=File:Agence_Rol,_24.4.21,_concours_de_machines_-_BnF.jpg" rel="nofollow">Wikimedia Commons</a>.</em></p>

<p>If you use pictures made by someone else, check the licence and credit them the way it asks.</p>

<h2 id="video-audio-and-embeds">Video, audio and embeds</h2>

<p>There is no embed button. WriteFreely does let a few HTML elements through: <code>&lt;video&gt;</code> and <code>&lt;audio&gt;</code> for media files you host somewhere, and <code>&lt;iframe&gt;</code> for players from other sites. Scripts are always removed, so embeds that need JavaScript in the page itself won&#39;t work.</p>

<p>This blog doesn&#39;t show an embedded player, because most video sites track their visitors. A plain link to the video does the job, and lets your readers choose.</p>

<p><a href="/demo/tag:images" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">images</span></a> <a href="/demo/tag:markdown" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">markdown</span></a></p>

<p><em>This is a demo post on <a href="https://qua.name" rel="nofollow">qua.name</a>; see <a href="/demo/about-this-demo" rel="nofollow">About this demo</a>.</em></p>
]]></content:encoded>
      <guid>https://qua.name/demo/images-and-embeds</guid>
      <pubDate>Fri, 27 Nov 2026 04:00:11 +0100</pubDate>
    </item>
    <item>
      <title>Hashtags and &#34;read more&#34;</title>
      <link>https://qua.name/demo/hashtags-and-read-more</link>
      <description>&lt;![CDATA[Two small things that help readers find their way: hashtags group posts by topic, and a &#34;read more&#34; marker keeps long posts from taking over the blog&#39;s front page.&#xA;&#xA;You are reading the short version of this post. On the blog&#39;s front page it stops after this paragraph, with a Read more... link underneath.&#xA;&#xA;!--more--&#xA;&#xA;Hashtags&#xA;&#xA;Type a # followed by a word anywhere in a post, like #writing or #WriteFreely, and it becomes a link. Each tag has its own page listing every post on this blog that uses it:&#xA;&#xA;/demo/tag:markdown collects the posts tagged #markdown&#xA;/demo/tag:writing collects the posts tagged #writing&#xA;&#xA;Tag pages ignore upper and lower case, so #Writing and #writing end up on the same page. Every tag page also has its own RSS feed: add /feed/ to the address, for example /demo/tag:markdown/feed/.&#xA;&#xA;A few rules:&#xA;&#xA;A tag is letters and digits, and needs at least one letter: #2026 is not a tag, #web3 is.&#xA;It ends at the first space or punctuation mark, hyphens included: in #slow-writing only &#34;slow&#34; is the tag. Use #SlowWriting instead.&#xA;When the post goes to the fediverse, its hashtags go along as real tags.&#xA;&#xA;The &#34;read more&#34; marker&#xA;&#xA;Put this on a line of its own where you want the cut:&#xA;&#xA;~html&#xA;!--more--&#xA;~&#xA;&#xA;Everything above it is shown on the blog&#39;s front page, followed by a Read more... link to the full post. On the post&#39;s own page the marker is invisible and the whole text is shown. The part above the marker is also used as the post&#39;s summary when it is sent to the fediverse.&#xA;&#xA;#writing #fediverse&#xA;&#xA;This is a demo post on qua.name; see About this demo.]]&gt;</description>
      <content:encoded><![CDATA[<p>Two small things that help readers find their way: hashtags group posts by topic, and a “read more” marker keeps long posts from taking over the blog&#39;s front page.</p>

<p>You are reading the short version of this post. On the blog&#39;s front page it stops after this paragraph, with a <strong>Read more...</strong> link underneath.</p>



<h2 id="hashtags">Hashtags</h2>

<p>Type a <code>#</code> followed by a word anywhere in a post, like <a href="/demo/tag:writing" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">writing</span></a> or <a href="/demo/tag:WriteFreely" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">WriteFreely</span></a>, and it becomes a link. Each tag has its own page listing every post on this blog that uses it:</p>
<ul><li><a href="/demo/tag:markdown" rel="nofollow">/demo/tag:markdown</a> collects the posts tagged <a href="/demo/tag:markdown" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">markdown</span></a></li>
<li><a href="/demo/tag:writing" rel="nofollow">/demo/tag:writing</a> collects the posts tagged <a href="/demo/tag:writing" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">writing</span></a></li></ul>

<p>Tag pages ignore upper and lower case, so <a href="/demo/tag:Writing" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Writing</span></a> and <a href="/demo/tag:writing" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">writing</span></a> end up on the same page. Every tag page also has its own RSS feed: add <code>/feed/</code> to the address, for example <code>/demo/tag:markdown/feed/</code>.</p>

<p>A few rules:</p>
<ul><li>A tag is letters and digits, and needs at least one letter: #2026 is not a tag, <a href="/demo/tag:web3" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">web3</span></a> is.</li>
<li>It ends at the first space or punctuation mark, hyphens included: in <a href="/demo/tag:slow" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">slow</span></a>-writing only “slow” is the tag. Use <a href="/demo/tag:SlowWriting" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">SlowWriting</span></a> instead.</li>
<li>When the post goes to the fediverse, its hashtags go along as real tags.</li></ul>

<h2 id="the-read-more-marker">The “read more” marker</h2>

<p>Put this on a line of its own where you want the cut:</p>

<pre><code class="language-html">&lt;!--more--&gt;
</code></pre>

<p>Everything above it is shown on the blog&#39;s front page, followed by a <strong>Read more...</strong> link to the full post. On the post&#39;s own page the marker is invisible and the whole text is shown. The part above the marker is also used as the post&#39;s summary when it is sent to the fediverse.</p>

<p><a href="/demo/tag:writing" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">writing</span></a> <a href="/demo/tag:fediverse" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">fediverse</span></a></p>

<p><em>This is a demo post on <a href="https://qua.name" rel="nofollow">qua.name</a>; see <a href="/demo/about-this-demo" rel="nofollow">About this demo</a>.</em></p>
]]></content:encoded>
      <guid>https://qua.name/demo/hashtags-and-read-more</guid>
      <pubDate>Thu, 26 Nov 2026 04:00:11 +0100</pubDate>
    </item>
  </channel>
</rss>