สารประโยคนี้ Markdown คู่มืออ้างอิงฉบับย่อ ครอบคลุมทุกอย่าง ตั้งแต่การจัดรูปแบบพื้นฐาน ถึงองค์ประกอบที่พัฒนา ใช้มันเป็นตัวอ้างอิงรายวัน หรือเมื่อคุณกําลังแปลงเอกสารกับ WordToMD และต้องการที่จะทําความสะอาดการออก
การจัดรูปแบบข้อความ
**Bold text**
*Italic text*
***Bold and italic***
~~Strikethrough~~
`Inline code`
| การประกอบคํา | ผลิต |
|---|---|
**Bold** | กล้าหาญ |
*Italic* | อักษรอักษร |
***Bold and italic*** | หนาและอักษรไทย |
~~Strike~~ | |
`code` | code |
หัวข้อ
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
คําอ้างอิงเต็ม: Markdown คู่มือหัวข้อ
บทความและการหยุดสาย
First paragraph.
Second paragraph (blank line separates paragraphs).
First line
Second line (two trailing spaces create a line break)
รายการ
รายการที่ไม่เรียงลําดับ
- Item one
- Item two
- Nested item (indent 2 spaces)
- Another nested item
- Item three
มีผลเช่นกัน: * or + แทน -
รายการตามลําดับ
1. First item
2. Second item
1. Nested item
3. Third item
รายการการทํางาน (GFM)
- [x] Completed task
- [ ] Pending task
- [ ] Another pending task
ลิงค์
[Link text](https://example.com)
[Link with title](https://example.com "Hover title")
[Reference link][ref-id]
[ref-id]: https://example.com "Optional title"
Bare URL: https://example.com (GFM auto-links)
รูปภาพ


![Reference image][img-id]
[img-id]: /path/to/image.png "Optional title"
งบล็อค
> Single blockquote
> Multi-line blockquote
> continues on the next line
> Nested blockquote
> > Inner level
รหัส
รหัสในเส้น
Use `console.log()` to debug.
โบล็อคโค้ด
```javascript
const x = 42;
console.log(x);
```
โค้ดบล็อกที่ไม่มีภาษา
```
Plain preformatted text
no syntax highlighting
```
คําอ้างอิงเต็ม: Markdown คอยด์บล็อค คู่มือ
ตาราง (GFM)
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Cell | Cell | Cell |
| Cell | Cell | Cell |
การจัดเรียงคอลัมน์
| Left | Center | Right |
|:---|:---:|---:|
| text | text | text |
คําอ้างอิงเต็ม: Markdown ตาราง: คู่มือที่ครบวงจร
กติกาแนวขอบ
---
***
___
(ไฮเฟน, ดาวสตาร์สิก, หรือ ราคาเบื้องล่าง 3 ตัวหรือมากกว่า)
HTML ใน Markdown
Raw HTML ได้รับการอนุญาตในส่วนใหญ่ของโปรเซสเซอร์ Markdown:
<details>
<summary>Click to expand</summary>
Hidden content here.
</details>
อัลตารีเมนต์ <sup>text</sup>
รายละเอียด <sub>text</sub>
การหลบหนีตัวละครพิเศษ
ใช้ backslash เพื่อหนีตัวอักษร Markdown:
\*Not italic\*
\# Not a heading
\| Not a table cell
ตัวละครที่สามารถหลบหนีได้: \ * _ {} [] () # + - . ! |
หมายเหตุด้านล่าง (ขยาย Markdown)
This claim needs a source.[^1]
[^1]: Here is the footnote text.
ไม่สนับสนุนใน GitHub แต่สนับสนุนใน Pandoc และ MultiMarkdown
รายการนิยาม (ขยาย Markdown)
Term
: Definition of the term
Another Term
: First definition
: Second definition
การสนับสนุนใน Pandoc Markdown และบางตัวสร้างสถานที่สติก
อีโมจิ (GFM)
:smile: :rocket: :warning: :check:
GitHub และหลาย ๆ Markdown แพลตฟอร์มรองรับรหัสสั้น emoji.
แฟรนท์เมท (YAML)
ใช้โดยเครื่องสร้างสถานที่สติก และ Obsidian:
---
title: "Document Title"
date: 2026-05-29
tags: [markdown, reference]
draft: false
---
มันต้องเป็นสิ่งแรกในไฟล์ ก่อนที่จะมีเนื้อหาใดๆ
การขยายเว็บไซต์เฉพาะเว็บไซต์
| ลักษณะ | GitHub | Obsidian | GitBook | Notion |
|---|---|---|---|---|
| รายการการทํางาน | ✅ | ✅ | ✅ | ✅ |
| ตาราง | ✅ | ✅ | ✅ | ✅ |
| หมายเหตุ | ❌ | ✅ | ✅ | ❌ |
วิกิลิ้งค์ [[link]] | ❌ | ✅ | ❌ | ❌ |
คณิตศาสตร์ $formula$ | ✅ | ✅ | ✅ | ❌ |
| ตารางแม่ทะเลทราย | ✅ | ✅ | ✅ | ❌ |
การ์ดอ้างอิงรวดเร็ว
| องค์ประกอบ | การประกอบคํา |
|---|---|
| H1 | # Heading |
| H2 | ## Heading |
| กล้าหาญ | **text** |
| อักษรอักษร | *text* |
| ลิงค์ | [text](url) |
| รูปภาพ |  |
| รายการรายการ | - item |
| จํานวน | 1. item |
| รหัส | `code` |
| รหัสบล็อก | ```lang |
| คําอ้าง | > text |
| ตาราง | | col | col | |
| HR | --- |
| หน้าที่ | - [ ] task |
| สตรีคทรู | ~~text~~ |
| การหลบหนี | \*literal\* |
การแปลง Word เป็น Markdown
มีเอกสารในรูปแบบ Word ไหม? WordToMD แปลง .docx เป็น Markdown ทันที ไม่มีการอัพโหลด ไม่มีบัญชี ผลการผลิตตามการออกแบบ GFM ที่ทํางานบน GitHub, Obsidian, Notion, และทุกแพลตฟอร์มหลัก.
อ่านเพิ่มเติม: