The extended syntax
If you want to extend your knowledge of markdown, continue reading below
Here are some of the features that may or may not be enabled by the markdown editor you end up using. That’s down to the individual developer.
Obsidian, for instance, takes a different approach when it comes to Heading IDs. If you want to link to a Heading ID in Obsidian you type the following:
[[#custom-id]]
Alternatively, you add a plugin, such as the Table of Contents plugin, and that takes care of adding Heading IDs for you.
I have written notes explaining some of these items in more detail. These are linked to below.
| Feature | Syntax |
|---|---|
| Tables |
| Feature | Description |
|
| Fenced code block |
```
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
```
|
| Footnote | Here’s a sentence with a footnote. [^1]
|
| Heading IDs | ### Custom heading {#custom-id} |
| Definition list | term
|
| Task list | - [x] Write to John
|
| Strikethrough | ~~strikethrough~~ |
| Highlight | This word is ==highlighted==. |
| Subscript | S~2~O |
| Superscript | z^2^ |
Some markdown editors use emojis and other symbols. I don’t use emojis, but you can find out more about them here. Wikipedia also has a list of HTML entities you can use.