Lazy loaded image
Markdown 段落语法
字数 170阅读时长 1 分钟
2025-2-13
2025-8-12
温馨提醒
这篇文章发布于 117 天前,内容可能已过时,请谨慎参考。
type
status
date
slug
summary
tags
category
icon
password
原文位置: https://markdown.com.cn/basic-syntax/paragraphs.html

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.
上一篇
Git 同步上游仓库的更新
下一篇
Markdown 标题语法

评论
Loading...