Advanced Syntax in Markdown

Horizontal Rules

To create horizontal rule on your page, add 3 or more hyphens --- - - -, arterisks *** * * *, or underscores ___ _ _ _ in a single line. These will produce identical horizontal line.

Markdown syntax:

---
- - -
***
* * *
___
_ _ _

Rendered output:







Line Breaks

In some tools enter doesn’t automatically break your line. To create line break in Markdown you can use double spaces at the end of your line text.

Example:
With double spaces at the end of the first line:

First line  
Second line

The rendered output:
First line
Second line

Tables

To produce tables in your page I will separate into 3 explanation:

  1. Create rows header
    Use pipes | to separate each column header. The example will be:
| Title | Descriptions |
  1. Create each column’s header
    Add three or more hyphens--- within pipes | below the rows header.
|---|---|
  1. Followed the rest of content inside pipes | within the pipes.
| Topic | Paragraph |

The complete format would be:

| Title | Descriptions |
|---|---|
| Topic | Paragraph |

The rendered output:

TitleDescriptions
TopicParagraph

Alerts/Admonitions/Callouts

Majority of Markdown applications don’t support this syntax. You can use this syntax of tools that support GitHub-Flavored Markdown (GFM) Alerts. There are 5 types of alerts available and commonly used. To create alerts on markdown in GFM supported tools, starting with greater-than symbol > to create blockquotes, followed by the alert type in a set of square brackets with a single exclamation mark [!].

The format is:

> [!ALERT TYPE]
> Your alert content.

The common types of alert available including:

  • NOTE: Callout information audiences should know.
> [!NOTE]
> This is note.
  • TIP: Callout helful advice for audiences.
> [!TIP]
> This is tip.
  • IMPORTANT: Crucial information for audiences.
> [!IMPORTANT]
> This is important key information.
  • WARNING: Callout problems should avoid by the audiences.
> [!WARNING]
> This is warning.
  • CAUTION: Potential negative outcomes or risks about actions audiences should know.
> [!CAUTION]
> This is caution.

Rendered output example:
*Note: The display of alert will depends on the Markdown platform or tool you are using.

NOTE:

Note

This is note.

TIP:

Tip

This is tip.

IMPORTANT:

Important

This is important key information.

WARNING:

Warning

This is warning.

CAUTION:

Caution

This is caution.


See Markdown-supported tools for more information about the tools or platforms you may use for markdown best practice.