portails/content/docs/cheat-sheets/markdown-extended-syntax/index.md

2.6 KiB

title description summary date lastmod draft images menu weight toc
Markdown Extended Syntax A quick reference to the Markdown extended syntax. A quick reference to the Markdown extended syntax. 2023-05-12T16:35:56+02:00 2023-05-12T16:35:56+02:00 false
docs
parent identifier
markdown-extended-syntax-f467db1a842b35cffcbd916e2e6a56bc
220 true

A quick reference to the Markdown extended syntax. { .lead }

{{< callout icon="info-circle" >}} Refer to the extended syntax reference guide for more information. {{< /callout >}}

Table

| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
Syntax Description
Header Title
Paragraph Text

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

{{< callout icon="info-circle" >}} Copy the emoji shortcode from Emoji Cheat Sheet by clicking on the emoji. {{< /callout >}}

That is so funny! :joy:

That is so funny! 😂

Unsupported elements

{{< callout icon="info-circle" >}} Hugo does not support the highlight, subscript, and superscript elements. Use the HTML element itself instead. {{< /callout >}}

Highlight

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

I need to highlight these very important words.

Subscript

H<sub>2</sub>O

H2O

Superscript

X<sup>2</sup>

X2


  1. This is the footnote. ↩︎