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 從公開儲存庫中收錄這些內容。

檢舉或申請下架