Gần như tất cả các ứng dụng Markdown đều hỗ trợ cú pháp cơ bản được nêu trong tài liệu thiết kế Markdown gốc. Có các biến thể và khác biệt nhỏ giữa các bộ xử lý Markdown — chúng được ghi chú nội tuyến bất cứ khi nào có thể
tiêu đề
Để tạo tiêu đề, hãy thêm dấu số [
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
5] trước một từ hoặc cụm từ. Số ký hiệu số bạn sử dụng phải tương ứng với cấp tiêu đề. Ví dụ: để tạo tiêu đề cấp ba [], sử dụng ba dấu số [e. g. , > Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
6]. Đầu ra kết xuất HTML Markdown > Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
7____08> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
9> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
0Tiêu đề cấp 2
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
1> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
2Tiêu đề cấp 3
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
3____54Tiêu đề cấp 4
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
5> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
6Tiêu đề cấp 5> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
7____58Đầu cấp 6
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
Cú pháp thay thế
Ngoài ra, trên dòng bên dưới văn bản, hãy thêm bất kỳ số lượng ký tự nào gồm 59 ký tự cho tiêu đề cấp 1 hoặc 150 ký tự cho tiêu đề cấp 2
Đầu ra kết xuất HTML Markdown> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
51____08> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
53> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
0Tiêu đề cấp 2
Tiêu đề thực tiễn tốt nhất
Các ứng dụng Markdown không đồng ý về cách xử lý khoảng trống bị thiếu giữa các ký hiệu số [
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
5] và tên tiêu đề. Để tương thích, luôn đặt khoảng cách giữa các ký hiệu số và tên tiêu đề✅ Làm cái này❌ Đừng làm cái này> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
56> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
57Bạn cũng nên đặt các dòng trống trước và sau tiêu đề để tương thích
✅ Làm cái này❌ Đừng làm cái này> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
58> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
59> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
50đoạn văn
Để tạo đoạn văn, hãy sử dụng một dòng trống để phân tách một hoặc nhiều dòng văn bản
MarkdownHTMLRendered Output____251> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
52> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
53Tôi thực sự thích sử dụng Markdown
Tôi nghĩ rằng tôi sẽ sử dụng nó để định dạng tất cả các tài liệu của mình kể từ bây giờ
Thực tiễn tốt nhất về đoạn
Trừ khi đoạn văn nằm trong danh sách, không thụt lề các đoạn văn có dấu cách hoặc tab
Ghi chú. Nếu bạn cần thụt lề đoạn văn trong đầu ra, hãy xem phần về cách thụt lề [tab]
✅ Làm cái này❌ Đừng làm cái này> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
54> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
55> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
56ngắt dòng
Để tạo ngắt dòng hoặc xuống dòng mới [
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
57], hãy kết thúc một dòng bằng hai dấu cách trở lên, rồi nhập returnMarkdownHTMLRendered Output____258> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
59Đây là dòng đầu tiên.
Và đây là dòng thứ hai.
Các phương pháp hay nhất về ngắt dòng
Bạn có thể sử dụng hai hoặc nhiều khoảng trắng [thường được gọi là "khoảng trắng ở cuối"] để ngắt dòng trong hầu hết mọi ứng dụng Markdown, nhưng điều đó gây tranh cãi. Thật khó để nhìn thấy khoảng trắng ở cuối trong trình soạn thảo và nhiều người vô tình hoặc cố ý đặt hai khoảng trắng sau mỗi câu. Vì lý do này, bạn có thể muốn sử dụng thứ gì đó ngoài khoảng trắng ở cuối để ngắt dòng. Nếu ứng dụng Markdown của bạn hỗ trợ HTML, bạn có thể sử dụng thẻ HTML
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
57Để tương thích, hãy sử dụng khoảng trắng ở cuối hoặc thẻ HTML
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
57 ở cuối dòngCó hai tùy chọn khác tôi không khuyên bạn nên sử dụng. CommonMark và một vài ngôn ngữ đánh dấu nhẹ khác cho phép bạn nhập dấu gạch chéo ngược [
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
72] ở cuối dòng, nhưng không phải tất cả các ứng dụng Markdown đều hỗ trợ điều này, vì vậy đây không phải là một lựa chọn tuyệt vời từ góc độ tương thích. Và ít nhất một vài ngôn ngữ đánh dấu nhẹ không yêu cầu bất cứ thứ gì ở cuối dòng — chỉ cần nhập return và chúng sẽ tạo ngắt dòng✅ Làm cái này❌ Đừng làm cái này> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
73> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
74nhấn mạnh
Bạn có thể nhấn mạnh bằng cách in đậm hoặc in nghiêng văn bản
In đậm
Để in đậm văn bản, hãy thêm hai dấu hoa thị hoặc dấu gạch dưới trước và sau một từ hoặc cụm từ. Để in đậm phần giữa của một từ để nhấn mạnh, hãy thêm hai dấu hoa thị không có dấu cách xung quanh các chữ cái
MarkdownHTMLRendered Output____375> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
76Tôi chỉ thích văn bản in đậm. > Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
77> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
76Tôi chỉ thích chữ in đậm. > Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
79> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
50LoveisboldCác phương pháp hay nhất táo bạo
Các ứng dụng Markdown không đồng ý về cách xử lý dấu gạch dưới ở giữa một từ. Để tương thích, hãy sử dụng dấu hoa thị để in đậm ở giữa từ để nhấn mạnh
✅ Làm cái này❌ Đừng làm cái này> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
79> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
52chữ nghiêng
Để in nghiêng văn bản, hãy thêm một dấu hoa thị hoặc dấu gạch dưới trước và sau một từ hoặc cụm từ. Để in nghiêng phần giữa của một từ để nhấn mạnh, hãy thêm một dấu hoa thị không có dấu cách xung quanh các chữ cái
MarkdownHTMLRendered Output_______453> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
54Văn bản in nghiêng là tiếng mèo kêu. > Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
55> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
54Văn bản in nghiêng là tiếng mèo kêu. > Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
57> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
58AcatmeoThực tiễn tốt nhất về chữ nghiêng
Các ứng dụng Markdown không đồng ý về cách xử lý dấu gạch dưới ở giữa một từ. Để tương thích, hãy sử dụng dấu hoa thị để in nghiêng giữa từ để nhấn mạnh
✅ Làm cái này❌ Đừng làm cái này> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
57> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
50Đậm và nghiêng
Để nhấn mạnh văn bản in đậm và in nghiêng cùng một lúc, hãy thêm ba dấu hoa thị hoặc dấu gạch dưới trước và sau một từ hoặc cụm từ. Để in đậm và in nghiêng phần giữa của một từ để nhấn mạnh, hãy thêm ba dấu hoa thị không có dấu cách xung quanh các chữ cái
MarkdownHTMLRendered Output____551> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
52Văn bản này thực sự quan trọng. > #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
53> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
52Văn bản này thực sự quan trọng. > #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
55> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
52Văn bản này thực sự quan trọng. > #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
57> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
52Văn bản này thực sự quan trọng. > #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
59> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
50Đây là văn bản thực sự rất quan trọngGhi chú. Thứ tự của các thẻ
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
51 và > #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
52 có thể bị đảo ngược tùy thuộc vào bộ xử lý Markdown mà bạn đang sử dụngCác phương pháp hay nhất về chữ đậm và chữ nghiêng
Các ứng dụng Markdown không đồng ý về cách xử lý dấu gạch dưới ở giữa một từ. Để tương thích, hãy sử dụng dấu hoa thị để in đậm và in nghiêng giữa từ để nhấn mạnh
✅ Làm cái này❌ Đừng làm cái này> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
59> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
54trích dẫn khối
Để tạo một blockquote, hãy thêm một
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
55 trước một đoạn văn> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
1Kết quả đầu ra trông như thế này
Dorothy đi theo cô ấy qua nhiều căn phòng xinh đẹp trong lâu đài của cô ấy
Blockquotes với nhiều đoạn văn
Blockquotes có thể chứa nhiều đoạn văn. Thêm một
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
55 vào các dòng trống giữa các đoạn văn> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
3Kết quả đầu ra trông như thế này
Dorothy đi theo cô ấy qua nhiều căn phòng xinh đẹp trong lâu đài của cô ấy
Phù thủy ra lệnh cho cô ấy rửa sạch nồi và ấm, quét sàn nhà và đốt lửa bằng củi.
Blockquotes lồng nhau
Blockquotes có thể được lồng vào nhau. Thêm một
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
57 trước đoạn bạn muốn lồng> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
Kết quả đầu ra trông như thế này
Dorothy đi theo cô ấy qua nhiều căn phòng xinh đẹp trong lâu đài của cô ấy
Phù thủy ra lệnh cho cô ấy rửa sạch nồi và ấm, quét sàn nhà và đốt lửa bằng củi.
Blockquotes với các yếu tố khác
Blockquotes có thể chứa các phần tử được định dạng Markdown khác. Không phải tất cả các yếu tố đều có thể được sử dụng — bạn sẽ cần thử nghiệm để xem yếu tố nào hiệu quả
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
Kết quả đầu ra trông như thế này
Kết quả hàng quý có vẻ tuyệt vời
- Doanh thu đã ra khỏi bảng xếp hạng
- Lợi nhuận cao hơn bao giờ hết
Mọi thứ đang diễn ra theo đúng kế hoạch
Blockquotes Thực tiễn tốt nhất
Để tương thích, hãy đặt các dòng trống trước và sau các đoạn trích dẫn
✅ Làm điều này❌ Đừng làm điều này> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
58> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
59> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
300danh sách
Bạn có thể sắp xếp các mục thành danh sách có thứ tự và không có thứ tự
Danh sách theo thứ tự
Để tạo danh sách theo thứ tự, hãy thêm mục hàng có số theo sau là dấu chấm. Các số không nhất thiết phải theo thứ tự số, nhưng danh sách phải bắt đầu bằng số một
MarkdownHTMLRendered Output____7301> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
302- Mục đầu tiên
- mục thứ hai
- mục thứ ba
- mục thứ tư
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
303> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
302- Mục đầu tiên
- mục thứ hai
- mục thứ ba
- mục thứ tư
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
305> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
302- Mục đầu tiên
- mục thứ hai
- mục thứ ba
- mục thứ tư
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
307> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
308- Mục đầu tiên
- mục thứ hai
- mục thứ ba
- mục thụt lề
- mục thụt lề
- mục thứ tư
Danh sách theo thứ tự Thực tiễn tốt nhất
CommonMark và một vài ngôn ngữ đánh dấu nhẹ khác cho phép bạn sử dụng dấu ngoặc đơn [
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
309] làm dấu phân cách [e. g. , > #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
310], nhưng không phải tất cả các ứng dụng Markdown đều hỗ trợ điều này, vì vậy đây không phải là một lựa chọn tuyệt vời từ góc độ tương thích. Để tương thích, chỉ sử dụng các khoảng thời gian✅ Làm cái này❌ Đừng làm cái này> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
311> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
312Danh sách không có thứ tự
Để tạo danh sách không có thứ tự, hãy thêm dấu gạch ngang [
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
313], dấu hoa thị [> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
314] hoặc dấu cộng [> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
315] trước các chi tiết đơn hàng. Thụt lề một hoặc nhiều mục để tạo danh sách lồng nhauMarkdownHTMLRendered Output____7316> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
317- Mục đầu tiên
- mục thứ hai
- mục thứ ba
- mục thứ tư
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
318> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
317- Mục đầu tiên
- mục thứ hai
- mục thứ ba
- mục thứ tư
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
320> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
317- Mục đầu tiên
- mục thứ hai
- mục thứ ba
- mục thứ tư
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
322> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
323- Mục đầu tiên
- mục thứ hai
- mục thứ ba
- mục thụt lề
- mục thụt lề
- mục thứ tư
Bắt đầu các mục danh sách không có thứ tự với các số
Nếu bạn cần bắt đầu một mục danh sách không có thứ tự với một số theo sau là dấu chấm, bạn có thể sử dụng dấu gạch chéo ngược [
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
72] để thoát khỏi dấu chấmMarkdownHTMLRendered Output____7325> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
326- 1968. Một năm tuyệt vời
- Tôi nghĩ năm 1969 là tốt thứ hai
Danh sách không có thứ tự Thực tiễn tốt nhất
Các ứng dụng Markdown không đồng ý về cách xử lý các dấu phân cách khác nhau trong cùng một danh sách. Để tương thích, không trộn lẫn các dấu phân cách trong cùng một danh sách — hãy chọn một và gắn bó với nó
✅ Làm điều này❌ Đừng làm điều này> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
316> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
328Thêm phần tử trong danh sách
Để thêm một phần tử khác vào danh sách trong khi vẫn duy trì tính liên tục của danh sách, hãy thụt lề phần tử đó bốn dấu cách hoặc một tab, như minh họa trong các ví dụ sau
Mẹo. Nếu mọi thứ không xuất hiện theo cách bạn mong đợi, hãy kiểm tra kỹ xem bạn đã thụt lề các thành phần trong danh sách bốn dấu cách hay một tab chưa
đoạn văn
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
5Kết quả đầu ra trông như thế này
- Đây là mục danh sách đầu tiên
Đây là mục danh sách thứ hai
Tôi cần thêm một đoạn khác bên dưới mục danh sách thứ hai
- Và đây là mục danh sách thứ ba
trích dẫn khối
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
5Kết quả đầu ra trông như thế này
- Đây là mục danh sách đầu tiên
Đây là mục danh sách thứ hai
Một blockquote sẽ trông tuyệt vời bên dưới mục danh sách thứ hai
- Và đây là mục danh sách thứ ba
khối mã
Các khối mã thường được thụt vào bốn dấu cách hoặc một tab. Khi chúng ở trong một danh sách, hãy thụt lề tám dấu cách hoặc hai tab
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
7Kết quả đầu ra trông như thế này
- Mở tập tin
Tìm khối mã sau trên dòng 21
5> Dorothy followed her through many of the beautiful rooms in her castle. > >> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
- Cập nhật tiêu đề để khớp với tên trang web của bạn
Hình ảnh
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
5Kết quả đầu ra trông như thế này
- Mở tệp chứa linh vật Linux
Ngạc nhiên trước vẻ đẹp của nó
- Đóng tệp
danh sách
Bạn có thể lồng danh sách không có thứ tự vào danh sách có thứ tự hoặc ngược lại
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
5Kết quả đầu ra trông như thế này
- Mục đầu tiên
- mục thứ hai
- mục thứ ba
- mục thụt lề
- mục thụt lề
- mục thứ tư
Mã số
Để biểu thị một từ hoặc cụm từ dưới dạng mã, hãy đặt nó trong dấu gạch ngược [
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
329]MarkdownHTMLRendered Output____7330> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
331. Tại dấu nhắc lệnh, gõ > #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
332Thoát khỏi Backticks
Nếu từ hoặc cụm từ bạn muốn biểu thị dưới dạng mã bao gồm một hoặc nhiều dấu gạch ngược, bạn có thể thoát nó bằng cách đặt từ hoặc cụm từ đó trong dấu gạch ngược kép [
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
333]MarkdownHTMLRendered Output____7334> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
335> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
336khối mã
Để tạo các khối mã, hãy thụt lề mỗi dòng của khối ít nhất bốn khoảng trắng hoặc một tab
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
30Kết quả đầu ra trông như thế này
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
31quy tắc ngang
Để tạo quy tắc ngang, hãy sử dụng ba hoặc nhiều dấu hoa thị [
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
337], dấu gạch ngang [> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
338] hoặc dấu gạch dưới [> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
339] trên một dòng> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
32Đầu ra được hiển thị của cả ba trông giống hệt nhau
Thực hành tốt nhất theo quy tắc ngang
Để tương thích, hãy đặt các dòng trống trước và sau các đường kẻ ngang
✅ Làm điều này❌ Đừng làm điều này> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
340> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
341> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
342liên kết
Để tạo một liên kết, hãy đặt văn bản liên kết trong ngoặc đơn [e. g. ,
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
343] và sau đó theo dõi nó ngay lập tức với URL trong ngoặc đơn [e. g. , > #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
344]> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
33Kết quả đầu ra trông như thế này
Công cụ tìm kiếm yêu thích của tôi là Duckduckgo
Thêm tiêu đề
Bạn có thể tùy ý thêm tiêu đề cho liên kết. Điều này sẽ xuất hiện dưới dạng chú giải công cụ khi người dùng di chuột qua liên kết. Để thêm tiêu đề, hãy đặt tiêu đề đó trong dấu ngoặc kép sau URL
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
34Kết quả đầu ra trông như thế này
Công cụ tìm kiếm yêu thích của tôi là Duckduckgo
URL và địa chỉ email
Để nhanh chóng biến một URL hoặc địa chỉ email thành một liên kết, hãy đặt nó trong dấu ngoặc nhọn
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
35Kết quả đầu ra trông như thế này
https. //www. hướng dẫn đánh dấu. org
fake@example. com
Để nhấn mạnh các liên kết, hãy thêm dấu sao trước và sau dấu ngoặc đơn và dấu ngoặc đơn. Để biểu thị các liên kết dưới dạng mã, hãy thêm backticks trong ngoặc
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
36Kết quả đầu ra trông như thế này
Tôi thích ủng hộ EFF.
Đây là Hướng dẫn Markdown.
Xem phần trên
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
345. Liên kết kiểu tham chiếu là một loại liên kết đặc biệt giúp hiển thị và đọc URL dễ dàng hơn trong Markdown. Liên kết kiểu tham chiếu được xây dựng thành hai phần. phần bạn giữ nội tuyến với văn bản của mình và phần bạn lưu trữ ở nơi khác trong tệp để giữ cho văn bản dễ đọc
Định dạng phần đầu tiên của liên kết
Phần đầu tiên của liên kết kiểu tham chiếu được định dạng bằng hai bộ dấu ngoặc. Bộ dấu ngoặc đầu tiên bao quanh văn bản sẽ xuất hiện được liên kết. Bộ dấu ngoặc thứ hai hiển thị nhãn được sử dụng để trỏ đến liên kết bạn đang lưu trữ ở nơi khác trong tài liệu của mình
Mặc dù không bắt buộc, bạn có thể bao gồm khoảng cách giữa bộ dấu ngoặc thứ nhất và thứ hai. Nhãn trong bộ dấu ngoặc thứ hai không phân biệt chữ hoa chữ thường và có thể bao gồm các chữ cái, số, dấu cách hoặc dấu chấm câu
Điều này có nghĩa là các định dạng ví dụ sau gần như tương đương với phần đầu tiên của liên kết
346> #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**.
347> #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**.
Định dạng phần thứ hai của liên kết
Phần thứ hai của liên kết kiểu tham chiếu được định dạng với các thuộc tính sau
- Nhãn, trong ngoặc đơn, ngay sau đó là dấu hai chấm và ít nhất một dấu cách [e. g. ,
348]> #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**.
- URL cho liên kết mà bạn có thể tùy ý đặt trong dấu ngoặc nhọn
- Tiêu đề tùy chọn cho liên kết mà bạn có thể đặt trong dấu ngoặc kép, dấu ngoặc đơn hoặc dấu ngoặc đơn
Điều này có nghĩa là các định dạng ví dụ sau gần như tương đương với phần thứ hai của liên kết
349> #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**.
350> #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**.
351> #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**.
352> #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**.
353> #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**.
354> #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**.
355> #### The quarterly results look great! > > - Revenue was off the chart. > - Profits were higher than ever. > > *Everything* is going according to **plan**.
Bạn có thể đặt phần thứ hai này của liên kết ở bất kỳ đâu trong tài liệu Markdown của mình. Một số người đặt chúng ngay sau đoạn mà chúng xuất hiện trong khi những người khác đặt chúng ở cuối tài liệu [như chú thích cuối trang hoặc chú thích cuối trang]
Một ví dụ đặt các bộ phận lại với nhau
Giả sử bạn thêm một URL dưới dạng liên kết URL chuẩn vào một đoạn văn và nó trông như thế này trong Markdown
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
37Mặc dù nó có thể trỏ đến thông tin bổ sung thú vị, nhưng URL được hiển thị thực sự không bổ sung nhiều vào văn bản thô hiện có ngoài việc khiến nó khó đọc hơn. Để khắc phục điều đó, thay vào đó, bạn có thể định dạng URL như thế này
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
38Trong cả hai trường hợp trên, đầu ra được hiển thị sẽ giống hệt nhau
Trong một cái lỗ trên mặt đất có một hobbit sống. Không phải là một cái hố bẩn thỉu, bẩn thỉu, ẩm ướt, đầy xác giun và mùi nước dãi, cũng không phải là một cái hố cát khô cằn, trơ trụi, không có gì để ngồi hay ăn. đó là một lỗ hobbit, và điều đó có nghĩa là thoải mái
và HTML cho liên kết sẽ là
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
39Liên kết thực tiễn tốt nhất
Các ứng dụng Markdown không đồng ý về cách xử lý khoảng trắng ở giữa URL. Để tương thích, hãy thử mã hóa URL bất kỳ khoảng trắng nào bằng
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
356. Ngoài ra, nếu ứng dụng Markdown của bạn hỗ trợ HTML, bạn có thể sử dụng thẻ HTML > #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
357✅ Làm điều này❌ Đừng làm điều này> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
358> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
359> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
360Hình ảnh
Để thêm hình ảnh, hãy thêm dấu chấm than [
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
361], theo sau là văn bản thay thế trong ngoặc và đường dẫn hoặc URL tới nội dung hình ảnh trong ngoặc đơn. Bạn có thể tùy chọn thêm tiêu đề trong dấu ngoặc kép sau đường dẫn hoặc URL> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
0Kết quả đầu ra trông như thế này
Liên kết hình ảnh
Để thêm liên kết vào hình ảnh, hãy đặt Markdown cho hình ảnh trong ngoặc, sau đó thêm liên kết vào trong ngoặc đơn
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
1Kết quả đầu ra trông như thế này
nhân vật trốn thoát
Để hiển thị một ký tự chữ thường được sử dụng để định dạng văn bản trong tài liệu Markdown, hãy thêm dấu gạch chéo ngược [
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
72] trước ký tự> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
2Kết quả đầu ra trông như thế này
* Nếu không có dấu gạch chéo ngược, đây sẽ là một dấu đầu dòng trong danh sách không có thứ tự
Nhân vật bạn có thể trốn thoát
Bạn có thể sử dụng dấu gạch chéo ngược để thoát khỏi các ký tự sau
Tên ký tự\dấu chéo ngược`dấu lùi [xem thêm dấu gạch ngược thoát trong mã]*dấu gạch dưới dấu hoa thị{ }dấu ngoặc nhọn[ ]dấu ngoặc < >dấu ngoặc góc[ ]dấu ngoặc đơn#dấu thăng+dấu cộng-dấu trừ [gạch nối]. dấu chấm. dấu chấm than. đường ống [xem thêm đường ống thoát trong bảng]HTML
Nhiều ứng dụng Markdown cho phép bạn sử dụng các thẻ HTML trong văn bản có định dạng Markdown. Điều này hữu ích nếu bạn thích một số thẻ HTML nhất định hơn cú pháp Markdown. Ví dụ: một số người thấy sử dụng thẻ HTML cho hình ảnh dễ dàng hơn. Sử dụng HTML cũng hữu ích khi bạn cần thay đổi các thuộc tính của một phần tử, chẳng hạn như chỉ định màu của văn bản hoặc thay đổi độ rộng của hình ảnh
Để sử dụng HTML, hãy đặt các thẻ vào văn bản của tệp có định dạng Markdown của bạn
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
3Kết quả đầu ra trông như thế này
Từ này in đậm. từ này in nghiêng
Các phương pháp hay nhất về HTML
Vì lý do bảo mật, không phải tất cả các ứng dụng Markdown đều hỗ trợ HTML trong tài liệu Markdown. Khi nghi ngờ, hãy kiểm tra tài liệu của ứng dụng Markdown của bạn. Một số ứng dụng chỉ hỗ trợ một tập hợp con các thẻ HTML