入门指南
语法速查表
基本语法
标题语法
段落语法
换行语法
强调语法
引用语法
列表语法
代码语法
分隔线语法
链接语法
图片语法
转义字符语法
内嵌 HTML 标签
扩展语法
扩展语法可用性
表格
围栏代码块
脚注
标题编号
定义列表
删除线
任务列表语法
使用 Emoji 表情
Highlight
Subscript
自动网址链接
禁止自动将 URL 转换为链接
Hacks
Underline
Indent (Tab)
Center
Color
Comments
Admonitions
Image Size
Image Captions
Link Targets
Symbols
Table Formatting
Table of Contents
Videos
书写工具
Table Formatting - markdown入门指南 - 笔下光年
网站首页
Table Formatting
Markdown <a href="http://www.bixiaguangnian.com/manual/markdown/4115.html">tables</a> are notoriously finicky. You can’t use many Markdown syntax elements to format the text in table cells. But there are workarounds for at least two common table issues: Line breaks and lists. ## Line Breaks Within Table Cells You can separate paragraphs within a table cell by using one or more <code><br></code> HTML tags. ```markdown | Syntax | Description | | ----------- | ----------- | | Header | Title | | Paragraph | First paragraph. <br><br> Second paragraph. | ``` The rendered output looks like this: | Syntax | Description | | ----------- | ----------- | | Header | Title | | Paragraph | First paragraph. <br><br> Second paragraph. | ## Lists Within Table Cells You can add a list within a table cell by using HTML tags. ```markdown | Syntax | Description | | ----------- | ----------- | | Header | Title | | List | Here's a list! <ul><li>Item one.</li><li>Item two.</li></ul> | ``` The rendered output looks like this: | Syntax | Description | | ----------- | ----------- | | Header | Title | | List | Here's a list! <ul><li>Item one.</li><li>Item two.</li></ul> |
上一篇:
Symbols
下一篇:
Table of Contents