Markdown 列表生成器
轻松创建和格式化 Markdown 列表。生成有序、无序和嵌套列表,支持正确的语法和自定义标记。
Try the Markdown List Generator
List Settings
Output
Understanding Markdown List Syntax
Markdown provides several ways to create lists in your documents. Understanding these options will help you create more effective documents and improve your Markdown workflow.
Unordered Lists
Unordered lists use bullet points and can be created using hyphens, asterisks, or plus signs. All of these markers will render the same bullet style in most Markdown processors.
- First item
- Second item
- Third item
* First item
* Second item
* Third item
+ First item
+ Second item
+ Third item
You can use any of these markers consistently throughout your list. Don't mix different markers in the same list.
Ordered Lists
Ordered lists use numbers followed by periods or parentheses. The actual numbers you use don't matter - the list will always render with sequential numbers starting from 1.
1. First item
2. Second item
3. Third item
1) First item
2) Second item
3) Third item
# This will still render as 1, 2, 3
8. First item
5. Second item
2. Third item
Nested Lists
You can create nested lists by indenting items with spaces or tabs. Most Markdown processors require at least 2 spaces or 1 tab for each level of indentation.
- First level item
- Second level item
- Third level item
- Another first level item
1. First level item
1. Second level item
1. Third level item
2. Another first level item
You can also mix ordered and unordered lists in nested structures.
- First level unordered item
1. Second level ordered item
2. Another second level ordered item
- Another first level unordered item
Adding Content Within List Items
To add paragraphs, code blocks, or other elements within a list item, indent them by at least 4 spaces or 1 tab.
- First item
- Second item
This is a paragraph within the second item.
```
This is a code block within the second item.
```
- Third item
需要了解更多Markdown语法细节?我们的全面速查表涵盖了所有元素的详细说明:
探索完整 Markdown 语法Frequently Asked Questions
What are the different types of lists in Markdown?
Markdown supports two main types of lists:
- Unordered lists (bullet points) created with
-
,*
, or+
- Ordered lists (numbered) created with numbers followed by a period or parenthesis, like
1.
or1)
Both types can be nested to create hierarchical structures.
How do I create nested lists in Markdown?
To create nested lists, indent the nested items with spaces or a tab. Most Markdown processors require at least 2 spaces or 1 tab for each level of indentation:
- First level
- Second level
- Third level
You can mix ordered and unordered lists in your nested structure.
Why is my Markdown list not rendering correctly?
Common issues with Markdown lists include:
- Not having a blank line before the first list item
- Inconsistent indentation for nested items
- Mixing different bullet markers (
-
,*
,+
) in the same list - Not having enough spaces after the marker (you need at least one space)
Ensure you have consistent formatting and proper spacing throughout your list.
How do I create task lists or checklists in Markdown?
Task lists (also called checklists or to-do lists) are created using square brackets with a space or an x inside:
- [ ] Unchecked item
- [x] Checked item
Note that task lists are part of GitHub Flavored Markdown and may not be supported in all Markdown processors.
Does Markdown support definition lists?
Definition lists are not part of standard Markdown but are supported in some extended Markdown flavors like PHP Markdown Extra and MultiMarkdown. The syntax typically looks like:
Term
: Definition
Check your specific Markdown processor's documentation to see if definition lists are supported.
Other Useful Tools
实时将 Markdown 文本转换为精美的 HTML。支持代码高亮、表格等功能。
Markdown 语法的完整参考指南,包括格式、表格、代码块等示例。
使用我们的可视化编辑器轻松创建 markdown 表格。为 GitHub markdown、文档等生成表格。自定义对齐方式,导入/导出数据,实时预览。
将 Markdown 转换为可选择文本的 PDF。使用自定义选项,即时将 Markdown 文档转换为专业 PDF。
轻松创建 Markdown 超链接。为网站、文档或 Discord 等平台生成标准、自动及引用链接的正确语法。
轻松创建 Markdown 图像语法。支持标准图片、链接图片和引用图片,还可提供调整大小和居中显示的方法。
创建格式正确的 Markdown 代码块,带有语法高亮功能。为文档、GitHub 和技术内容生成围栏式、缩进式和内联代码。
了解如何在 Markdown 中添加注释。使用 HTML 和引用风格方法为 GitHub、文档和其他平台创建隐藏注释。
为 GitHub、Discord 和其他平台创建 markdown 删除线文本。学习不同的 markdown 删除线方法,使用双波浪线格式化您的文本。
学习如何在 markdown 文档中添加新行。尝试不同的换行方法,适用于 GitHub、Discord 和其他平台,使用尾随空格、反斜杠和 HTML br 标签。
使用 HTML 标签和 CSS 样式在 Markdown 中创建带下划线的文本。学习在 GitHub、Discord 和其他平台中添加下划线的不同方法。
使用标准的 '>' 语法在 Markdown 中创建格式正确的引用块。支持嵌套引用和多行引用,并提供实时预览。
使用双星号或双下划线在 Markdown 中创建粗体文本。学习为 GitHub、Discord 和文档进行正确的粗体格式化,带有实时预览。
为 GitHub、GitLab 和其他平台创建 Markdown 任务列表和复选框。生成已选中和未选中的复选框,支持自定义文本。
使用星号或下划线在 Markdown 中创建斜体文本。学习在 GitHub、Discord 和其他平台中添加强调的不同方法。
即时将 HTML 表格转换为 Markdown 格式。粘贴 HTML 代码并获取格式正确的 Markdown 表格。
统计 Markdown 文本的字数、字符数并估算阅读时间。智能忽略代码块。
清理 AI 输出中的 Markdown 语法。将格式化的 Markdown 转换为简单的 TXT 内容,同时保留结构。
从 Markdown 中提取并转换数学公式为 LaTeX 格式,用于学术论文和科学文档。