Markdown Documentation

aj-geddes/useful-ai-prompts/skills/markdown-documentation

作者 aj-geddes3f5182cfd739无许可证355 个星标收录于 2026年10月8日更新于 2026年10月8日仓库7个月前更新

Master markdown formatting, GitHub Flavored Markdown, README files, and documentation formatting. Use when writing markdown docs, READMEs, or formatting documentation.

仅含说明Writing & Content
AI 生成的概览

指导 Markdown 文档的撰写与排版,涵盖 GitHub Flavored Markdown、README 和技术文档。

功能
提供 Markdown 语法指导与最佳实践,用于产出格式规范、易读的文档。内容涵盖标准 Markdown 与 GitHub Flavored Markdown,并附有文本格式、列表、链接与图片、代码块、表格、扩展语法、可折叠区块、提示与标注以及 Mermaid 图表的参考指南。此外还包含文档模板,以及关于文档质量与无障碍的推荐与避免做法。
适用场景
适用于撰写或排版 Markdown 文档,例如 README 文件、文档页面、Wiki、博客文章或技术写作。也适合用来检查现有文档的 Markdown 排版规范与无障碍做法。
运行要求
无需脚本或特殊工具,仅为说明与参考文档。

Markdown Documentation

Table of Contents

Overview

Master markdown syntax and best practices for creating well-formatted, readable documentation using standard Markdown and GitHub Flavored Markdown (GFM).

When to Use

  • README files
  • Documentation pages
  • GitHub/GitLab wikis
  • Blog posts
  • Technical writing
  • Project documentation
  • Comment formatting

Quick Start

  • Comment formatting
markdown
# H1 Header
## H2 Header
### H3 Header
#### H4 Header
##### H5 Header
###### H6 Header
# Alternative H1
## Alternative H2

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
Text Formatting [blocked]Text Formatting
Lists [blocked]Lists
Links and Images [blocked]Links and Images, Code Blocks, Tables
Extended Syntax (GitHub Flavored Markdown) [blocked]Extended Syntax (GitHub Flavored Markdown)
Collapsible Sections [blocked]Collapsible Sections, Syntax Highlighting, Badges
Alerts and Callouts [blocked]Alerts and Callouts
Mermaid Diagrams [blocked]Mermaid Diagrams

Best Practices

✅ DO

  • Use descriptive link text
  • Include table of contents for long documents
  • Add alt text to images
  • Use code blocks with language specification
  • Keep lines under 80-100 characters
  • Use relative links for internal docs
  • Add badges for build status, coverage, etc.
  • Include examples and screenshots
  • Use semantic line breaks
  • Test all links regularly

❌ DON'T

  • Use "click here" as link text
  • Forget alt text on images
  • Mix HTML and Markdown unnecessarily
  • Use absolute paths for local files
  • Create walls of text without breaks
  • Skip language specification in code blocks
  • Use images for text content (accessibility)

来源与署名

来源:aj-geddes/useful-ai-prompts位于skills/markdown-documentation提交3f5182c

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架