← 返回
效率工具

Markdown

Generate clean, portable Markdown that renders correctly across parsers.
生成简洁、可移植的Markdown,在不同解析器中正确渲染
ivangdavila
效率工具 clawhub v1.0.1 1 版本 97362.4 Key: 无需
★ 8
Stars
📥 9,622
下载
💾 382
安装
1
版本
#latest

概述

Whitespace Traps

  • Blank line required before lists, code blocks, and blockquotes—without it, many parsers continue the previous paragraph
  • Nested lists need 4 spaces (not 2) for GitHub/CommonMark; 2 spaces breaks nesting in strict parsers
  • Two trailing spaces for
    break—invisible and often stripped by editors; prefer blank line or
    tag
  • Lines with only spaces still break paragraphs—trim trailing whitespace

Links & Images

  • Parentheses in URLs break text—use %28 %29 or angle brackets: text>)
  • Spaces in URLs need %20 or angle bracket syntax
  • Reference-style links [text][ref] fail silently if [ref]: url is missing—verify all refs exist
  • Images without alt text: always provide !alt even if empty ![]() for accessibility tools

Code

  • Triple backticks inside fenced blocks—use 4+ backticks for outer fence or indent method
  • Inline backticks containing backtick—wrap with double backticks and pad: `` code ``
  • Language hint after fence affects syntax highlighting—omit only when truly plain text

Tables

  • Alignment colons go in separator row: :--- left, :---: center, ---: right
  • Pipe | in cell content needs backslash escape: \|
  • No blank line before table—some parsers fail
  • Empty cells need at least one space or break rendering

Escaping

  • Characters needing escape in text: \*, \_, \[, \], \#, \>, \, \\`
  • Escape not needed inside code spans/blocks
  • Ampersand only needs escape as & when it could form an HTML entity

Portability

  • HTML tags work in GitHub but stripped in many renderers—prefer pure Markdown
  • Extended syntax (footnotes, task lists, emoji shortcodes) not universal—check target parser
  • YAML frontmatter needs --- fences and only at file start; some parsers render it as text

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-28 14:37 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,090
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 437 📥 147,151
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,679