Markdown Reference
A complete guide to the Markdown syntax supported by Markini. Based on GitHub Flavored Markdown with extensions for math, diagrams, wikilinks, callouts, and more.
Block Elements
Paragraphs & Line Breaks
Separate paragraphs with a blank line. Use Shift+Enter for a line break within a paragraph.
First paragraph. Second paragraph.
Headings
Use 1–6 # characters at the start of a line.
# Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6
Blockquotes
Start a line with > to create a blockquote. Nest with additional > characters.
> This is a blockquote. > > > This is a nested blockquote.
Unordered Lists
Use -, *, or + followed by a space. Indent with two spaces to nest.
- Item one - Item two - Nested item - Another nested item - Item three
Ordered Lists
Use numbers followed by a period and a space.
1. First item 2. Second item 3. Third item
Task Lists
Use - [ ] for incomplete and - [x] for completed tasks. Checkboxes are interactive in the preview.
- [ ] Incomplete task - [x] Completed task - [ ] Another task
Code Blocks
Wrap code in triple backticks with an optional language identifier for syntax highlighting. 100+ languages supported.
```python
def greet(name):
return f"Hello, {name}!"
``` Math Blocks
Use $$ delimiters or a ```math code block for display equations. Rendered with MathJax 4.
$$
\sum_{i=1}^{n} i = \frac{n(n+1)}{2}
$$ Tables
Use pipes | and hyphens - to create tables. Colons control column alignment.
| Left-aligned | Center-aligned | Right-aligned | |:-------------|:--------------:|--------------:| | Content | Content | Content | | More | More | More |
Footnotes
Create a reference with [^id] and define the footnote content anywhere in the document.
Here is a footnote reference[^1]. [^1]: This is the footnote content.
Horizontal Rules
Use three or more hyphens, asterisks, or underscores on a blank line.
---
YAML Frontmatter
Add metadata at the top of a file between --- delimiters. Displayed as a styled table in the preview and the sidebar metadata panel.
--- title: My Document author: Jane Smith date: 2024-01-15 tags: [markdown, guide] ---
Table of Contents
Type [toc] on its own line to generate a collapsible, clickable table of contents from all headings in the document.
[toc]
Alert / Callout Blocks
Five styled callout types using GitHub-compatible syntax. Each renders with a distinct color and icon.
> [!NOTE] > Useful information. > [!TIP] > Helpful advice. > [!IMPORTANT] > Key information. > [!WARNING] > Potential issues. > [!CAUTION] > Dangerous actions.
Mermaid Diagrams
Create diagrams in fenced code blocks with the mermaid language identifier. Rendering is theme-aware.
```mermaid
graph LR
A[Start] --> B[Process]
B --> C{Decision}
C -->|Yes| D[End]
C -->|No| B
``` Collapsed Sections
Use HTML <details> and <summary> tags for collapsible content.
<details> <summary>Click to expand</summary> Hidden content goes here. </details>
Inline Elements
Links
Create links with [text](url) syntax. Add an optional title in quotes.
[Markini](https://rustini.com) [With title](https://rustini.com "Rustini")
Images
Use  syntax. Add optional sizing with =WIDTHxHEIGHT or =WIDTH.
  
Bold
Wrap text in double asterisks or double underscores.
**bold text**
Italic
Wrap text in single asterisks or single underscores.
*italic text*
Inline Code
Wrap text in backticks.
`inline code`
Strikethrough
Wrap text in double tildes.
~~deleted text~~
Highlight
Wrap text in double equals signs. Renders as <mark>.
==highlighted text==
Subscript
Wrap text in single tildes.
H~2~O
Superscript
Wrap text in single carets.
X^2^
Inline Math
Wrap LaTeX in single dollar signs. Rendered with MathJax 4.
$E = mc^2$ $\alpha + \beta = \gamma$
Emoji Shortcodes
Type a colon followed by the emoji name. 800+ shortcodes supported via gemoji.
:wave: :rocket: :white_check_mark: :thumbsup: :fire: :star:
Wikilinks
Link to other files in your workspace with double brackets. Links auto-repair when files are moved or renamed.
[[filename]] [[filename|display text]] [[filename#heading]]
Underline
Use HTML <u> tags or the keyboard shortcut.
<u>underlined text</u>
Smart Punctuation
Automatic conversion of straight quotes to curly quotes and hyphens to em dashes.
"quotes" become “curly quotes” -- becomes an em dash —
Keyboard Shortcuts
All shortcuts can be customized from the Settings panel. These are the defaults.
| Shortcut | Action |
|---|---|
| Ctrl+B | Bold |
| Ctrl+I | Italic |
| Ctrl+K | Insert link |
| Ctrl+U | Underline |
| Ctrl+` | Inline code |
| Alt+Shift+5 | Strikethrough |
| Shift+Enter | Line break |
| Ctrl+Enter | Add table row |
| Ctrl+Shift+Right | Add table column |
| Ctrl+D | Select next occurrence |
| Ctrl+P | Quick file picker |
| Ctrl+Shift+F | Folder search |
| Ctrl+Shift+L | Toggle outline panel |
| Ctrl+1 | Edit mode |
| Ctrl+2 | Preview mode |
| Shortcut | Action |
|---|---|
| Ctrl+3 | Split mode |
| Ctrl+Shift+Enter | Zen mode |
| F5 | Start presentation |
| F8 | Focus mode |
| F9 | Typewriter mode |
| F11 | Fullscreen |
| Ctrl+Shift+E | Export HTML |
| Ctrl+Shift+C | Copy preview as HTML |
| Ctrl+Shift+M | Copy as Markdown |
| Ctrl+N | New file |
| Ctrl+W | Close tab |
| Ctrl+Shift+T | Reopen closed tab |
| Ctrl+= | Zoom in |
| Ctrl+- | Zoom out |
| Ctrl+0 | Reset zoom |