วิธีการใช้ Markdown
แนวทางการใช้ Markdown และตัวอย่างตรงนี้ผมจะลงตัวอย่างการใช้ Markdown พื้นฐานไว้ดูว่ามันจะหน้าตาเป็นยังไงบ้างตอนที่แสดงผลใน Astro
หัวข้อ
ทดสอบการใช้ <h1>
—<h6>
ซึ่งเป็นแท็กหัวเรื่องระดับ 1 - 6 โดยที่ h1
ใหญ่สุดไล่ไปเล็กสุด h6
H1 หัวข้อ 1
H2 หัวข้อ 2
H3 หัวข้อ 3
H4 หัวข้อ 4
H5 หัวข้อ 5
H6 หัวข้อ 6
Paragraph ย่อหน้า
ตัวอย่างการเขียนย่อหน้าในภาษาไทย
วันนี้คือวันอันสดใส แดดส่องแผ่นดินอย่างสว่างไกลสร้างความรอบรู้ให้กับทุกคน ทุกสิ่งทุกอย่างที่เกิดขึ้นในชีวิตเรา ก็มีความหมายและความสำคัญเป็นอย่างมาก เราควรเชื่อในความสามารถของตัวเราเอง และพัฒนาตนเองอย่างต่อเนื่องเพื่อสร้างความสุขและความสำเร็จในชีวิตทุกวัน
ภาพ
Blockquotes
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer
or cite
element, and optionally with in-line changes such as annotations and abbreviations.
Blockquote without attribution
Tiam, ad mint andaepu dandae nostion secatur sequo quae.
Note that you can use Markdown syntax within a blockquote.
Blockquote with attribution
Don’t communicate by sharing memory, share memory by communicating.
— Rob Pike1
Tables
Italics | Bold | Code |
---|---|---|
italics | bold | code |
Code Blocks
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Example HTML5 Document</title>
</head>
<body>
<p>Test</p>
</body>
</html>
List Types
Ordered List
- First item
- Second item
- Third item
Unordered List
- List item
- Another item
- And another item
Nested list
- Fruit
- Apple
- Orange
- Banana
- Peanut
- Dairy
- Milk
- Cheese
Other Elements — abbr, sub, sup, kbd, mark
GIF is a bitmap image format.
H2O
Xn + Yn = Zn
$A^2 + B^2 = C^2$
Press CTRL+ALT+Delete to end the session.
Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.