Markdown-常用内容总结

https://markdown.com.cn/

https://markdown.com.cn/cheat-sheet.html 速查表

https://publish.obsidian.md/help-zh/编辑与格式化/基本格式语法

https://forum-zh.obsidian.md/t/topic/435/1

1. 速查表 cheat-sheet

1.1. 基本语法

assets/publish/Markdown-常用内容总结/IMG-20241219-192913268-1.png

1.2. 扩展语法

assets/publish/markdown-常用内容总结/IMG-20241219-193501325.png


2. 常用语法

2.1. 有序列表、无序列表、列表中嵌套内容

有序列表
	1. xxx // {数字}{.}{空格}[内容]  开始数字必须是1
	2. xxx

无序列表
	- xxx //{-}{空格}[内容]
	- xxx
列表中嵌套
	- xxx
	(tab|4空格)[内容]

2.2. 代码

短语用`包围

代码块用```包围

3. 常见问题

3.1. markdown 中的空格不能达到对其效果?

3.2. markdown 中的标题如何使用?

一级标题 表示 书名,必有且全局唯一。

如obsidian中,文件中不用写#,直接##开始,因为obsidian默认会把文件名作为#再文件顶部显示。

最佳实践: