baoyu-format-markdown

Format plain text and markdown files into polished markdown documents.

14|4|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/zephyrwang6/allSkills --skill baoyu-format-markdown-zephyrwang6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-format-markdown
Source: https://github.com/zephyrwang6/allSkills/tree/main/baoyu-format-markdown
Command: npx skills add https://github.com/zephyrwang6/allSkills --skill baoyu-format-markdown-zephyrwang6

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires remark-cjk-friendly, remark-frontmatter, remark-gfm, remark-parse, remark-stringify, unified, unist-util-visit, yaml, autocorrect-node, and includes scripts (resource) components.

What problem does it solve?

This Skill turns plain text or rough markdown into clean, well-structured documents with consistent frontmatter, headings, emphasis, lists, and code formatting.

Core Features & Use Cases

  • Document Beautification: Improves article layout by adding or refining titles, summaries, headings, bold text, and separators.
  • Markdown Cleanup: Normalizes existing markdown while preserving the original meaning and structure.
  • Typography Fixes: Applies CJK-friendly spacing, emphasis corrections, and quote replacement for more readable output.
  • Use Case: A writer can feed in a draft blog post or note and receive a more polished markdown file ready for publishing or review.

Quick Start

Use the baoyu-format-markdown skill to format the attached text or markdown file into a polished markdown document with improved structure and typography.

Frequently Asked Questions about baoyu-format-markdown

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I format rough text into polished markdown for publishing?

To format rough text into polished markdown, you can use a document cleanup skill that normalizes headings, lists, and code blocks while adding YAML frontmatter. This process refines plain text drafts into publication-ready markdown files with consistent structure.

How does CJK spacing work in markdown formatting?

CJK spacing in markdown formatting automatically adjusts the visual gaps between Chinese, Japanese, or Korean characters and adjacent English words or punctuation. This typography fix ensures readable output without altering the underlying text content.

What is the best way to clean up markdown structure and typography?

The best way to clean up markdown structure and typography is to use a formatting tool that normalizes headings and lists while applying CJK-friendly spacing. This approach preserves original meaning while improving document layout and emphasis.

Does this markdown formatting process handle YAML frontmatter?

Yes, the markdown formatting process handles YAML frontmatter by parsing and refining it alongside the document body. It ensures your markdown files start with consistent, valid frontmatter before normalizing the remaining text structure.

Can I normalize markdown headings and lists without changing the original meaning?

Yes, you can normalize markdown headings and lists without changing the original meaning. The cleanup process adjusts structural elements and emphasis while strictly preserving the semantic intent and content of the draft document.

What are the limitations of automated markdown cleanup for drafts?

Automated markdown cleanup focuses on typography and structure, meaning it may not correct logical flow or substantive content errors. It is designed for layout refinement and spacing fixes rather than deep editorial revisions of your draft.