
Markdown 段落语法
Markdown 段落语法,如何创建段落以及最佳实践
钟神秀 大学牛马
2025年02月13日
更新于 02月13日
预计阅读 1 分钟
176 字
Markdown 段落
要创建段落,请使用空白行将一行或多行文本进行分隔。
| Markdown语法 | HTML | 预览效果 |
|---|---|---|
I really like using Markdown. | <p>I really like using Markdown.</p> | I really like using Markdown. |
I think I'll use it to format all of my documents from now on. | <p>I think I'll use it to format all of my documents from now on.</p> | I think I’ll use it to format all of my documents from now on. |
段落(Paragraph)用法的最佳实践
不要用空格(spaces)或制表符( tabs)缩进段落。
| ✅ Do this | ❌ Don’t do this |
|---|---|
Don't put tabs or spaces in front of your paragraphs. | This can result in unexpected formatting problems. |
Keep lines left-aligned like this. | Don't add tabs or spaces in front of paragraphs. |
觉得这篇文章怎么样?
点个赞,让更多人看到!
