Bear docs

Markdown cheatsheet

Bear uses Markdown for formatting. You can also use HTML, math, and dynamic content. See Beyond Markdown.

Emphasis

**bold** *italics* ~~strikethrough~~ ==mark==

bold italics strikethrough mark


Headers

# Big header
## Medium header
### Small header
#### Tiny header

Big header

Medium header

Small header

Tiny header


Lists

* Generic list item
* Generic list item
* Generic list item

1. Numbered list item
2. Numbered list item
3. Numbered list item
  1. Numbered list item
  2. Numbered list item
  3. Numbered list item

<http://www.example.com>

[Open in same tab](http://www.example.com)

[Open in new tab](tab:http://www.example.com)

Or use the heading id (the slugified name of the header) as an internal link...

[Internal link](#headers)

http://www.example.com

Open in same tab

Open in new tab

Internal link


Typographic replacements

Bear Blog(r)(c) is a Good Blog(tm) that took +-3 years to perfect.

Bear Blog®© is a Good Blog™ that took ±3 years to perfect.

I drink H~2~O at the 6^th^ and 12^th^ hours of the day.

I drink H2O at the 6th and 12th hours of the day.


Linebreaks

Each new line in your content starts a new line on the page. Leave a blank line to start a new paragraph.

Here's some text.
Here's some more text.

Here's a new paragraph.

Here's some text.
Here's some more text.

Here's a new paragraph.

Blogs created before 26 October 2026 use standard Markdown line breaks, where a single new line is ignored. On these blogs, end a line with a \ or two spaces to add a line break, or turn on Hard line breaks in Settings > Advanced settings.


Footnotes

Here is a simple footnote,[^1] and here is a longer one.[^named-note]

Then at the bottom of your post...

[^1]: This is the first footnote.

[^named-note]: Here is another one.

[^2]: Multi-line footnotes  
    are indented with  
    4 spaces  

Here's a simple footnote,1 and here's a longer one2, and here’s a multi-line one3.


Quotes

> This is a quote.
> It can span multiple lines!

This is a quote.
It can span multiple lines!


Images

Need to upload an image? ImgBB has a great interface (or you can upgrade your Bear account).

![Here's some alt text](https://i.ibb.co/Vvh17pr/3jxqrKP.jpg) 

Here's some alt text


Tables

| Column 1 | Column 2 | Column 3 |
| -------- | -------- | -------- |
| John     | Doe      | Male     |
| Mary     | Smith    | Female   |

Or without aligning the columns...

| Column 1 | Column 2 | Column 3 |
| -------- | -------- | -------- |
| John | Doe | Male |
| Mary | Smith | Female |
Column 1 Column 2 Column 3
John Doe Male
Mary Smith Female

Displaying code

`var example = "hello!";`

Or spanning multiple lines...

```javascript
var example = "hello!";
alert(example);
```

var example = "hello!";

var example = "hello!";
alert(example);

For language specific syntax highlighting, specify the language at the beginning of the code block.


Beyond Markdown

Markdown covers most writing. When you need more, these all work in any post, page, or your homepage.


HTML

Mix HTML in wherever Markdown runs out. Leave a blank line before and after a block of HTML.

<details>
<summary>Click to reveal</summary>
Hidden until someone clicks.
</details>

<p style="text-align: center;">Centred text</p>
Click to reveal Hidden until someone clicks.

Centred text

Embeds from YouTube, Spotify, Vimeo, Bandcamp and similar sites work with their standard <iframe> code. Scripts require an upgraded account.


Math

Write LaTeX between $ for inline math and $$ for a block.

The formula is $E=mc^2$.

$$
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
$$

The formula is E=mc2.

∑n=1∞1n2=π26

More in the mathematical notation guide.


Post and blog details

Drop in details about your blog or the current post, and they stay up to date automatically.

You're reading **{{ post_title }}** on {{ blog_title }}.

{{ previous_post }} {{ next_post }}

You're reading Markdown cheatsheet on Bear docs.

Here's everything available.

Blog attributes:

{{ blog_title }}
{{ blog_description }}
{{ blog_link }}
{{ blog_created_date }}
{{ blog_last_modified }} ago
{{ blog_last_posted }} ago

Post attributes (in posts and pages only):

{{ post_title }}
{{ post_description }}
{{ post_link }}
{{ post_published_date }}
{{ post_last_modified }} ago

A tag list with links to filters can be added using:

{{ tags }}

Next and previous post links can be added using:

{{ previous_post }} {{ next_post }}

An email subscribe form can be added on upgraded blogs using:

{{ email_signup }}

Post lists

Show a list of your posts anywhere, filtered by tag, date, or number.

{{ posts|limit:3 }}

{{ posts|tag:recipes }}

More options in the post lists guide.


  1. This is the first footnote.↩

  2. Here's another one↩

  3. Multi-line footnotes
    are indented with
    4 spaces↩