【PC/General】Markdown Syntax Cheatsheet

Markdown is a lightweight markup language that allows you to format text quickly and easily for blogging and other purposes. Here’s a handy cheatsheet to help you master Markdown and create beautiful blog posts:

Headings

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

Text Formatting

*Italic text*
**Bold text**
***Bold and italic text***
~~Strikethrough text~~

Lists

Unordered List

- Item 1
- Item 2
  - Subitem 2.1
  - Subitem 2.2
- Item 3

Ordered List

1. First item
2. Second item
3. Third item

Links

[Link text](https://www.example.com)

Images

![Alt text](image-url.jpg)

Blockquotes

> This is a blockquote.

Code

​```python
def greet():
    print("Hello, Markdown!")
​```

Horizontal Rule

---

Tables

| Header 1 | Header 2 |
| -------- | -------- |
| Cell 1   | Cell 2   |
| Cell 3   | Cell 4   |

Line Breaks

This is a line.\
This is another line.

Escaping Special Characters

Use backslashes to escape characters like \* or \_.

Footnotes

Here is a sentence with a footnote[^1].
[^1]: This is the explanation of the footnote.

Task Lists

- [x] Task 1 (completed)
- [ ] Task 2 (incomplete)

Headers IDs (For Anchors)

## Table of Contents
- [Section 1](#section-1)
- [Section 2](#section-2)

LaTeX Math Formulas

To display math formulas, use $$:
$$
E = mc^2
$$

この記事は役に立ちましたか?

はい
いいえ
貴重なフィードバックありがとうございます!