Enter the password to view this content:

Markdown Style guide

Paste this whole block into a single markdown card on a new Ghost Page
(slug style, so it lives at /style/). With v1.12.0 a page now renders
every element exactly as a post does. Keep it as your reference: when you
want to know how a blockquote, table, or callout will look, open /style/.

Body copy carries bold, italic, a piece of inline code, an
inline link, and a highlighted run. Here is a nutshell to tap:
:Promise Theory, and a footnote.[1]

Heading two

Heading three

Heading four

A standard blockquote:

We shape our tools, and thereafter our tools shape us.

A pull quote (one line, lifted larger):

:pull Fast publishing shouts for attention. A slow room earns it.
— The house rule

A note callout (title on the first line, body beneath):

:note A small note
This is your titled aside. Use it for a caveat, a definition, or a
pointer that deserves a little more room than a footnote.

Lists

  • An unordered item
  • A second, with a nested list
    • Nested one
    • Nested two
  • A third item
  1. An ordered item
  2. A second, with nesting
    1. Sub-step one
    2. Sub-step two
  3. A third item

Table

Element Where it lives Colour used
Heading Post and page None
Blockquote Post and page None
Highlight Post and page Yellow

Code

function greet(name) {
  return "Hello, " + name;   // a fenced code block
}

Image

A caption sits beneath the image.


A closing paragraph, with a second nutshell to prove reuse on a page:
:coupling.

:x Promise Theory

Agents promise only their own behaviour; cooperation emerges from
voluntary, inspectable promises rather than commands.

:x coupling

How much one part depends on another. Every live fetch is a promise to
someone else's server; low coupling means fewer promises to keep.


  1. Footnotes open in place as the sibling of the nutshell, and also
    stay listed at the foot of the page. ↩︎


SPONSORED

Call to action