Mochi uses Markdown to format text inside cards. Markdown is a lightweight syntax that lets you add structure—headings, emphasis, lists, images, links, references, and more—without leaving the keyboard. This guide covers the most common formatting options you’ll use when creating cards.
You can copy each example directly into a card to see how it renders.
Headings
Use # symbols to create headings. More # symbols make smaller headings.
Add syntax highlighting by postfixing the name of the language after the first three backticks.
```python
print("Hello, World!")
```
Horizontal rule
Use four or more dashes to create a horizontal rule.
----
Links
External links
[Visit Mochi](https://mochi.cards)
Internal references (links to other cards)
You can link to another card using double brackets:
See also: [[Photosynthesis]].
Typing [[ opens a quick search box.
Mochi automatically adds a backlink on the referenced card. See References for more details.
Images & media
Media can be attached by dragging and dropping a file onto the editing area, or pasting an image that's been copied to the clipboard. The media will be stored locally and displayed using standard markdown syntax.
Images can also be embedded via a URL, either hosted locally on your computer or on a server.

The above syntax will work for audio and video files as well. If the card is deleted, the associate media will be deleted as well.
For images, you can adjust the dimensions by adding |800x600 to the image title. The first number will be the width, and the second number the height. If you exclude the height, the image will resize proportionally.
Inline #tags written in the card’s Markdown automatically become card metadata.
#biology #chapter3
Hierarchical tags
You can create nested tags by adding forward slashes (/) in your tags. For example #sports/basketball/stats will create a #stats tag that is nested under the #basketball tag which is in turn nested under the #sports tag.
Footnotes
Mochi supports standard Markdown footnotes.
Water is essential for life.[^1]
[^1]: And for making tea.
Footnotes appear at the bottom of the card’s rendered output.