Markdown 粗体工具
使用双星号或双下划线在 Markdown 中创建粗体文本。学习为 GitHub、Discord 和文档进行正确的粗体格式化,带有实时预览。
Try the Markdown Bold Generator
Bold Settings
Output
Understanding Markdown Bold Syntax
Markdown provides multiple ways to create bold text in your documents. Understanding these options will help you create more effective documents and improve your Markdown workflow.
Method 1: Double Asterisk
Use double asterisks to make text bold. This is the most commonly used method.
**This text will be bold**Result: This text will be bold
Method 2: Double Underscore
Alternatively, you can use double underscores for bold text.
__This text will also be bold__Result: This text will also be bold
Inline Bold Text
You can make parts of a sentence bold by surrounding specific words.
This is **important** information.Result: This is important information.
Combining Bold with Other Formatting
Bold text can be combined with other Markdown formatting like italic and code.
***Bold and italic text*** **Bold text with `code`** **Bold** and *italic* textResult: Bold and italic text
Bold text with code
Bold and italic text
Frequently Asked Questions
What's the difference between ** and __ for bold text?
Both methods produce identical results. Double asterisks (**) are more commonly used and widely supported across all Markdown flavors, while double underscores (__) are an alternative syntax that works just as well.
How to make text bold in GitHub markdown?
GitHub Markdown fully supports both bold syntax methods. You can use either double asterisks**text**or double underscores__text__to create bold text in GitHub issues, pull requests, comments, and documentation.
Can I combine bold with other formatting like italic?
Yes, you can combine bold with other Markdown formatting. For bold and italic together, use three asterisks or underscores:***bold and italic***or___bold and italic___You can also combine bold with inline code using backticks:**Bold `code`**
Does bold formatting work in code blocks?
No, Markdown formatting like bold text is not processed inside code blocks or inline code. The asterisks or underscores will be displayed literally within code blocks. This is by design, as code blocks are meant to display code exactly as written.
How do I escape asterisks if I don't want bold formatting?
Use a backslash before the asterisks to escape them:\*\*text\*\*will display as **text** without bold formatting. This works for any Markdown syntax character you want to display literally.
相关工具
使用星号或下划线在 Markdown 中创建斜体文本。学习在 GitHub、Discord 和其他平台中添加强调的不同方法。
使用 HTML 标签和 CSS 样式在 Markdown 中创建带下划线的文本。学习在 GitHub、Discord 和其他平台中添加下划线的不同方法。
为 GitHub、Discord 和其他平台创建 markdown 删除线文本。学习不同的 markdown 删除线方法,使用双波浪线格式化您的文本。
使用标准的 '>' 语法在 Markdown 中创建格式正确的引用块。支持嵌套引用和多行引用,并提供实时预览。
轻松创建和格式化 Markdown 列表。生成有序、无序和嵌套列表,支持正确的语法和自定义标记。
为 GitHub、GitLab 和其他平台创建 Markdown 任务列表和复选框。生成已选中和未选中的复选框,支持自定义文本。