portails/content/blog/markdown-extended-syntax/index.md

2.6 KiB

title description summary date lastmod draft weight images categories tags contributors pinned homepage
Markdown Extended Syntax This Markdown cheat sheet provides a quick overview of all extended Markdown syntax elements. This Markdown cheat sheet provides a quick overview of all extended Markdown syntax elements. 2023-03-31T12:07:15+02:00 2023-03-31T12:07:15+02:00 false 50
Henk Verlinde
false false

If you need more information about any of these elements, refer to the reference guide for extended syntax.

Table

| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
{.table .table-striped}
Syntax Description
Header Title
Paragraph Text
{.table .table-striped}

Fenced Code Block

```json
{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}
```
{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}

Footnote

Here's a sentence with a footnote. [^1]

[^1]: This is the footnote.

Here's a sentence with a footnote. 1

Heading ID

### My Great Heading{#custom-id}

My Great Heading

<h3 id="custom-id">My Great Heading</h3>

Definition List

term
: definition
term
definition

Strikethrough

~~The world is flat.~~

The world is flat.

Task List

- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
{.list-unstyled}
  • Write the press release
  • Update the website
  • Contact the media {.list-unstyled}

Emoji

That is so funny! :joy:

That is so funny! 😂

(See also Copying and Pasting Emoji)

Highlight

I need to highlight these <mark>very important words</mark>.

I need to highlight these very important words.

(See also Hugo Markdown Support)

Subscript

H<sub>2</sub>O

H2O

(See also Hugo Markdown Support)

Superscript

X<sup>2</sup>

X2

(See also Hugo Markdown Support)


  1. This is the footnote. ↩︎