How to use markdown in Tettra
Tettra's editors supports a variety of markdown shortcuts, such as block and inline formatting. These shortcuts help you format text while typing, keeping you from going back-and-forth between your keyboard and mouse.
Supported and non-supported markdown shortcuts
This includes a complete list of markdown shortcuts you can use in creating Tettra pages and those that we do not support.
Block shortcut
Format | Shortcut |
Header one | (# ...) |
Header two | (## ...) |
Header three | (### ...) |
Numbered lists | (1. ...) |
Unordered lists | (- ...) or (* ...)` |
Regular code block | (``` ...) |
Horizontal rule | (---) |
Inline shortcut
Format | Shortcut |
Inline code block | (`...`) |
Bold text | (**...**) or (__...__) |
Italic text | (*...*) or (_..._) |
Strikethrough text | (~~...~~) |
Underline | (select text and click cmd+u) |
Make sure to hit [space] or [Enter] to complete the auto-markdown conversion.
Not supported
Format
| Shortcut |
Bold italics | (***...***) |
Underline | (__...__) |
Underline italics | (__*...*__) |
Underline bold | (__**...**__) |
Underline bold italics | (__***...***__) |
Blockquotes | (> ...) or (>>> ...) |
Images | (! [alt text] (url)) |
Links | ([...] (...))
|
Emojis | (: ... :) |
Tables |
Markdown samples
Using markdown shortcuts is easy. For example, typing "# Introduction" would start the line as an H1 header. If this is still unclear, check out the other cases below:
Example #1: Here's how you type out headers using markdowns:
![kroKFATVMUfFgJM2xOLzfVvyT9Y5ybnSGemFqio1.gif](https://tettra-staging.s3.us-west-2.amazonaws.com/e6a3bb5fe35e561dc6df46f32b85a124/1a8a5ef0a226cb4015308a8adf270437/20993de870e0114a29c4be3f8daa2907/7347e8b5531ed9d4502c8304e12ca25f/kroKFATVMUfFgJM2xOLzfVvyT9Y5ybnSGemFqio1.gif)
Example #2: Here's how you use markdown shortcuts to add a code block:
![IiFhKAArametM7r5epMWkUnz5qhulvxITYbj3y98.gif](https://tettra-staging.s3.us-west-2.amazonaws.com/e6a3bb5fe35e561dc6df46f32b85a124/1a8a5ef0a226cb4015308a8adf270437/20993de870e0114a29c4be3f8daa2907/7347e8b5531ed9d4502c8304e12ca25f/IiFhKAArametM7r5epMWkUnz5qhulvxITYbj3y98.gif)