Mad Lit/Docs

Writing & editing

Mad Lit's editor supports two modes at the same time: plain typing and live Markdown. You don't have to choose — write however feels natural and the editor keeps up.

Markdown shortcuts

Type Markdown syntax at the start of a line and press Space. The editor converts it immediately.

Type this…Gets you…
# Heading 1
## Heading 2
### Heading 3
**text**Bold
*text*Italic
~~text~~Strikethrough
`code`Inline code
> Blockquote
- Bullet list item
1. Numbered list item
- [ ] Todo checkbox
---Horizontal rule

Slash commands

Type / anywhere on a line to open the block menu. Start typing to filter. Available blocks include headings, bullet and numbered lists, todo lists, code blocks, tables, callouts, and dividers.

Toolbar

Select any text to reveal the inline toolbar. From there you can apply bold, italic, code, links, and highlight formatting without leaving the keyboard.

Code blocks

Type ``` followed by a language name (e.g. ```javascript) and press Enter. Code blocks support syntax highlighting for most common languages.

Tables

Type /table and choose the dimensions, or paste a GitHub-flavoured Markdown table directly — Mad Lit will render it correctly.

Pasting Markdown

Paste raw Markdown from any source and it will be rendered as formatted content. You can also export any page back to Markdown using the ··· menu in the page header.

Supported Markdown on import

Headings, bold, italic, strikethrough, inline code, code blocks, blockquotes, ordered and unordered lists, todo lists, tables, and horizontal rules.

Tip: Not yet supported via paste: callout blocks, column layouts, and embedded media. Insert those using the slash command menu.