Markdown syntax is now widely used in many places, and Quaily also supports Markdown. Even if you haven't studied it before, you may have already used it. For example, text wrapped in **this is bold**
represents bold text.
When it comes to syntax, many people might find it difficult, but don't worry. After reading this article, you'll learn the basic usage in just five minutes.
What is Markdown?
Let's start with a brief introduction to Markdown.
Markdown is a lightweight markup language used for writing documents. It's pure text, written in a simple and readable manner, and can be used across multiple platforms. The goal of Markdown is to let people focus on content rather than complicated formatting.
Headings
Add one or more hash symbols #
before text to indicate headings. The number of #
symbols represents the heading level. For example:
## Second-level heading
### Third-level heading
#### Fourth-level heading
...
Second-level heading
Third-level heading
Fourth-level heading
The result looks like this:
In Quaily, it's not recommended to use first-level headings within the article content. This is because the article title itself is a first-level heading, and an article should not have two first-level headings.
Lists
There are unordered lists and ordered lists, which use hyphens -
or numbers followed by periods 1.
at the beginning, respectively.
For example:
- Apple
- Orange
- Pear
The result looks like this:
- Apple
- Orange
- Pear
1. Apple
2. Orange
3. Pear
The result looks like this:
- Apple
- Orange
- Pear
Text Effects
For example:
*Italic* **Bold** ~~Strikethrough~~ ==Highlight==
The result looks like this:
Italic Bold Strikethrough Highlight
Hyperlinks
Use square brackets ([]) to enclose the link text, followed by parentheses (()) enclosing the link address.
For example:
[This is a link to Quaily website](https://quaily.com)
The result looks like this:
This is a link to Quaily website
Quotes
If you want to quote someone else's words, you can use the quote style:
For example:
> That's one small step for a man, one giant leap for mankind.
>
> -- Neil Armstrong
The result looks like this:
That's one small step for a man, one giant leap for mankind.
-- Neil Armstrong
Horizontal Rule
It's very simple, just input three -
symbols.
For example:
---
That's it, have you learned it?