Markdown basics

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.

Headings

Start a line with one or more # signs and a space. The post's own title is set separately, so inside a post you will mostly use two or three.

### A small heading
#### An even smaller one

A small heading

An even smaller one

Emphasis

*Italic*, **bold**, ***both*** and ~~struck through~~.

Italic, bold, both and struck through.

Underscores work too (_italic_), but they also act inside words, so put names like file_name_here in backticks (see Code).

Lists

- Paper
- Pens
  - Fountain pen
  - Pencil

1. Write
2. Read it again
3. Publish
  1. Write
  2. Read it again
  3. Publish

Quotes

> The first draft of anything is rubbish.
>
> > A quote inside a quote.

The first draft of anything is rubbish.

A quote inside a quote.

Read the [writer's guide](https://writefreely.org/docs/latest/writer),
or paste a bare address: https://writefreely.org

Read the writer's guide, or paste a bare address: https://writefreely.org

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

Horizontal rule

Three hyphens on a line of their own, with a blank line above:

Above the line.

---

Below the line.

Above the line.


Below the line.

Tables

Colons in the second row set the alignment of a column.

| Format   | Dates shown | Order         |
|----------|:-----------:|---------------|
| Blog     | yes         | newest first  |
| Novel    | no          | oldest first  |
| Notebook | no          | newest first  |
Format Dates shown Order
Blog yes newest first
Novel no oldest first
Notebook no newest first

A little HTML

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

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

H2O, E = mc2, a highlighted word and MD with a tooltip.

Typography for free

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

Not supported

Footnotes and task-list checkboxes are not part of WriteFreely's Markdown; [^1] and [ ] stay as plain text.

#markdown #writing

This is a demo post on qua.name; see About this demo.