Featured image of post Markdown 段落语法

Markdown 段落语法

Markdown 段落语法,如何创建段落以及最佳实践。

0 次阅读

原文位置: 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.
Licensed under CC BY-NC-SA 4.0
本博客已稳定运行

发布了 19 篇文章 | 共 15323 字

欢迎来到克喵的博客
使用 Hugo 构建
主题 StackJimmy 设计