Contents
Markdown
- .txt
- .md
- .rtf
- .textbundle
Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format that is simple to convert to HTML. Blot adds syntax highlighting for code, math, embeds, wikilinks, layout tags and citations.
<b># Formatting</b> You can use <em>*Markdown*</em>, a lightweight markup language for plain text files. Use it for links, headings, lists and much more.
Metadata
Start the file with metadata, one Key: value pair to a line, or with a YAML front matter block:
Title: October newsletter
Tags: announcements, fall
The rest of your post goes here.
Bold and italics
Surrounding text with two asterisks makes text bold:
**This text will be bold.**
To create italics, use a single asterisk (*) on either side of the text:
*This text will be italic.*
Both * or _ symbols work to make text bold or italic. This way you can combine bold and italic in the same sentence. For example:
**Everyone _must_ listen.**
Headings
You can create headings using the octothorpe (#).
# Largest heading
Use two octothorpes to create a subheading.
## Subheading
Alternatively, for H1 and H2, an underline-ish style:
Alternative heading
===================
Alternative subheading
----------------------
Links
Create a text link by wrapping the linked text in brackets ([ ]) and the URL in parentheses (( )). For example:
[Wikipedia](https://wikipedia.org)
A relative link, e.g. [Report](report.pdf), is resolved based on the location of the file you’re writing in, not your post’s URL.
Images
Use the syntax for a link, with an exclamation point (!) in front. For example:

If the file _image.jpg is inside the same directory, then you can use a relative path like so:

Otherwise, use an absolute path with your site folder as root:

You can wrap the image in a link like so:
[](https://url.of/the/page)
Lists
Make a bulleted list by starting each item with a hyphen (-) or an asterisk (*). Add a space after the marker.
- Round
- Shell
- Projectile
Create a numbered list by preceding list items with a number.
1. Eins
2. Deux
3. Tres
Create a list that starts with a custom number like this:
9) Ninth
10) Tenth
11) Eleventh
Create a list with non-digit markers like this:
i. Unus
ii. Duo
iii. Tres
If it is a capital letter, use two spaces after the period:
A. Unus
B. Duo
C. Tres
Create a checklist like so:
- [x] First task
- [ ] Second task
- [ ] Third task
Footnotes
Use square brackets and a caret (^) to mark the position of a footnote in your text:
Use this syntax.[^1] Another line with a different footnote.[^2]
And then write the footnotes themselves at the bottom of your file like this:
[^1]: And the note goes here.
[^2]: And the second goes here too.
You can also write footnotes inline with your text:
Use this syntax ^[Footnote text goes here] for inline footnotes.
Strike out text
Put a double tilde (~) on either side of the text you want to strikethrough:
~~Strike out mistakes~~
Highlighting
Surround text with double equals signs (==) to mark or highlight it:
==This text will be highlighted.==
Code
Indent code with four spaces:
var foo = “bar”;
You can also wrap code with three backticks (`) and specify the language to enable syntax highlighting:
```javascript
var foo = "bar";
```
You can customize your code’s syntax highlighting by modifying the highlight.js CSS file which comes with your site’s template.
Horizontal rules
Use three or more hyphens (-), asterisks (*) or underscores (_) to create a horizontal rule.
---
***
___
Blockquotes
Markdown uses email-style > characters for block quoting. They are presented as:
> This is a blockquote with two paragraphs.
>
> This is the second paragraph. Vestibulum enim wisi.
Callouts
Start a blockquote with [!info] to create a callout:
> [!info] Here's a callout title
> Here's a callout block. It supports **Markdown**, etc.
Here’s a callout block. It supports Markdown, etc.
Use + or - to make the callout collapsible (initially expanded or collapsed, respectively):
> [!info]- Here's a collapsible callout
> Here's the collapsible text.
Here’s the initially-collapsed text.
Supported callout types are note, abstract, info, todo, tip, success, question, warning, failure, danger, bug, example, and quote. The syntax is based on Obsidian callouts. You can customize the appearance of callouts in your template.
Tables
You can use the following syntax to create tables:
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
HTML
You can mix HTML tags directly into Markdown files when you need behavior beyond Markdown.
Embedding
A link to a video, a song or a social post becomes an embedded player or post. Blot embeds a link only when its text is the full URL itself, so paste the URL on a line of its own:
Here is the first video on YouTube: https://www.youtube.com/watch?v=jNQXAC9IVRw
Blot embeds links to:
- YouTube videos, through YouTube’s privacy-enhanced player, which does not sign visitors in to YouTube
- Vimeo videos
- Bandcamp tracks and albums, which do not play automatically
- Posts on X (Twitter), Bluesky and Flickr
Links to channels, profiles, playlists, hashtags and other pages stay links. So does a link with its own text, such as my favorite video. If Blot can’t fetch the embed, the link stays as it was.
You can also paste embed code from another site straight into a Markdown file, as HTML.
Math
Write between dollar signs: one on each side for math inside a sentence, two on each side for an equation on its own line. Blot typesets it with KaTeX when it publishes the post, so visitors don’t need JavaScript.
The area of a circle is $\pi r^2$. $$ f(x) = 2x^2 + 2/3 $$
See Math for every function you can use.
Wikilinks
A wikilink links to another post by its filename, so you don’t need to know the post’s URL. Note-taking apps such as Obsidian write and update wikilinks for you. Wikilinks are on for every site.
This links to a file called *Other post.md* in the same folder: [[Other post]] It is the same as this Markdown: [Other post](/other-post)
The linked post’s title becomes the link text. To use your own, add it after a vertical bar:
[[Other post|Your link text here]]
How Blot finds the linked post
Blot tries each of these in turn and uses the first match:
- By path, first relative to the file you’re writing in, then from the root of your site folder, then by filename in the folder that holds your post.
- By URL of a post or page, ignoring case.
- By title of a post or page, ignoring case.
- By heading in the same post.
[[My heading]],[[#My heading]],[[my-heading]]and[[#my-heading]]all link to the heading My heading.
Given this folder, every wikilink in the right-hand column works from the file on its left:
- Introduction.docx11/5/2611/5/2026 6:21 AM5 Nov 202615 KB15 KB15.0 kBDOCX File
- Fruits, folder, expanded11/27/2611/27/2026 8:05 AM27 Nov 2026--3 itemsFile folder
- Apple.md11/16/2611/16/2026 12:25 PM16 Nov 20261 KB2 KB1.2 kBMD File
- Pear.txt11/28/2611/28/2026 8:49 PM28 Nov 2026511 bytes511 bytes511 bytesText Document
- Tasty, folder, expandedYesterday12/1/2026 3:38 PMYesterday 15:38--1 itemFile folder
- Mango.md9:51 AM12/2/2026 9:51 AMToday 9:51972 bytes972 bytes972 bytesMD File
|
|
|
|
|
Embedding files
Put an exclamation mark before a wikilink to embed the file instead of linking to it, as Obsidian does. Images, audio, video and PDFs appear in the post, and the text after a vertical bar becomes an image’s alt text. A .md, .txt, .text or .markdown note is published inline, so you can reuse a checklist or a snippet in several posts.
![[Garden/Flowers.png|Summer wildflowers]]
![[../Audio/Birds.mp3]]
![[/Reference/Slides/Overview.pdf]]
![[Project plan]]
Embeds are found with the same rules as links. Keep attachments inside your site folder so they sync to Blot.
Obsidian
In Obsidian, set New link format to relative path to file. Absolute path in vault also works, as long as your vault is not inside a subfolder of your site folder.
Layout
Blot adds tags to Markdown for simple layouts. Start a line with a tag to move it, and indent the lines below it to include them too:
{<<} This line sits in the left margin of the page
You can include more lines inside the same tag by indenting them.
This line sits in the default position.Each tag wraps its lines in an element with a CSS class. Your site’s template decides how they look: most templates include layout.css, which styles them.
| Tag | Makes its lines… | CSS class |
|---|---|---|
{<<} | extend into the left margin | wide left |
{>>} | extend into the right margin | wide right |
{<>} | extend into both margins | wide |
{>} | float right inside the page | right inside |
{<} | float left inside the page | left inside |
{|<} | hang in the right margin | right margin |
{>|} | hang in the left margin | left margin |
{||} | sit in a column half the width | two column |
{|||} | sit in a column a third of the width | three column |
{||||} | sit in a column a quarter of the width | four column |
Citations
Keep your references in a bibliography file in your folder, and name it with the Bibliography metadata field. Then cite them inside square brackets, separated by semicolons. Each citation is @ and the reference’s key, with an optional prefix, locator and suffix:
Bibliography: bibliography.bib Blah blah [see @item1, pp. 33-35; also @item2, chap. 1]. Blah blah [@item1, pp. 33-35, 38-39 and *passim*]. Blah blah [@item1; @item2].
@Book{item1,
author="John Doe",
title="First Book",
year="2005",
address="Cambridge",
publisher="Cambridge University Press"
}
@Article{item2,
author="John Doe",
title="Article",
year="2006",
journal="Journal of Generic Studies",
volume="6",
pages="33-34"
}A minus sign before the @ leaves out the author’s name, which helps when the text already mentions them. Leave out the brackets to cite in the text itself:
Smith says blah [-@smith04].
@smith04 says blah.
@smith04 [p. 33] says blah.
A key starts with a letter, a digit or _, and may contain letters, digits, _ and these characters inside it: :.#$%&-+?<>~/.
Bibliography formats
Blot reads the bibliography’s format from its file extension. .bib works for both BibLaTeX and BibTeX; use .bibtex to force BibTeX.
| Format | File extension |
|---|---|
| BibLaTeX | .bib |
| BibTeX | .bibtex |
| Copac | .copac |
| CSL JSON | .json |
| CSL YAML | .yaml |
| EndNote | .enl |
| EndNote XML | .xml |
| ISI | .wos |
| MEDLINE | .medline |
| MODS | .mods |
| RIS | .ris |
Citation styles
Citations use the Chicago Manual of Style author-date format by default. To use another Citation Style Language style, such as one from the Zotero Style Repository, put its file in your folder and name it with the CSL metadata field. The CSL project explains how to find and edit styles.
TextBundle
You can use the TextBundle format to embed images in Markdown files when using supported apps including Ulysses and Bear.
Divs and spans (Pandoc)
Blot supports Pandoc’s native Div and Span syntax in Markdown, so you can add attributes with fenced divs and bracketed spans. This makes it possible to create custom features in your template by targeting classes and IDs in your CSS or layout. See the developer documentation for more on customizing templates.