跳至主要内容
小龙虾小龙虾AI
🤖

Markdown

Generate clean, portable Markdown that renders correctly across parsers.

下载11.4k
星标7
版本1.0.1
写作创作
安全通过

技能说明


name: Markdown description: Generate clean, portable Markdown that renders correctly across parsers. metadata: {"clawdbot":{"emoji":"📝","os":["linux","darwin","win32"]}}

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 <br> break—invisible and often stripped by editors; prefer blank line or <br> tag
  • Lines with only spaces still break paragraphs—trim trailing whitespace

Links & Images

  • Parentheses in URLs break [text](url)—use %28 %29 or angle brackets: [text](<url with (parens)>)
  • 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](url) 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 &amp; 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

如何使用「Markdown」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Markdown技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能