Markdown 样式
基本元素
This text will be italic
This will also be italic
This text will be bold
This will also be bold
- Item 1
- Item 2
- Item 3
- Item 1
- Item 2
- Item 3
Reference
something
代码
./inline-code
csharp
// Code block
for (var i = 0; i < 100; i++)
{
Console.WriteLine($"Count: {i}");
}
表格
Header 1 | Header 2 | Header 3 |
---|---|---|
Content 1 | Content 2 | Content 3 |
Content 4 | Content 5 | Content 6 |
Content 7 | Content 8 | Content 9 |
公式
- Inline:
- Block:
自定义文本块
Colors borrowed from Material for MkDocs: Admonitions.
备注 Note
Lorem ipsum dolor sit amet...
摘要 Abstract
Lorem ipsum dolor sit amet...
信息 Info
Lorem ipsum dolor sit amet...
提示 Tip
Lorem ipsum dolor sit amet...
完成 Success
Lorem ipsum dolor sit amet...
疑问 Question
Lorem ipsum dolor sit amet...
警告 Warning
Lorem ipsum dolor sit amet...
失败 Failure
Lorem ipsum dolor sit amet...
危险 Danger
Lorem ipsum dolor sit amet...
漏洞 Bug
Lorem ipsum dolor sit amet...
示例 Example
Lorem ipsum dolor sit amet...
引用 Quote
Lorem ipsum dolor sit amet...
Complex content in container
- Item 1
- Item 2
Reference
something
This is an inline code.
csharp
// This is a code block
for (var i = 0; i < 100; i++)
{
Console.WriteLine($"Now is {i}");
}