Skip to content

Markdown Formatting

rainier39 edited this page Jan 26, 2026 · 2 revisions

Introduction

Blog posts and your blog's footer are formatted using my own implementation of Markdown. This is accomplished with regular expressions, and can be seen in the formatter.php file in the core directory. I have created this documentation page to spare users from having to look at that, however.

List

Using asterisks or dashes followed by a space. Like so:

- Item
- Item
* Item
* Item

Numeric list

Using a number followed by a dot or a closing parenthesis. Like so:

1. Item
2. Item
1) Item
2) Item

Bold

Using two asterisks on each side. Like so:

**Bold**

Italic

Using one asterisk on each side. Like so:

*Italic*

Code block

Using 3 backticks (`) on each side.

Inline code

Using one backtick on each side. Like so:

`Code`

Heading

A hash followed by a space. Like so:

# Heading

Subheading

Two hashes followed by a space. Like so:

## Subheading

Horizontal rule

Three dashes. Like so:

---

Blockquote

A greater than symbol followed by a space. Like so:

> Blockquote

Image

Exclamation mark, alt text (optional) in square brackets, image link in parentheses. Like so:

![alt text](https://example.com/image.png)

Link

Link text in square brackets, URL in parentheses. Like so:

[link text](https://example.com)

Paragraph

Two newlines. Like so:



Linebreak

Two spaces. Like so:

Text  

Clone this wiki locally