baoyu-format-markdown

Format markdown files with frontmatter, headings, lists, and typography fixes.

5.0k|479|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/anbeime/skill --skill baoyu-format-markdown-anbeime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-format-markdown
Source: https://github.com/anbeime/skill/tree/main/skills/content-creation-publisher/baoyu-format-markdown
Command: npx skills add https://github.com/anbeime/skill --skill baoyu-format-markdown-anbeime

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automatically formats plain text or markdown files, ensuring they have proper structure, frontmatter, and typography, making them more readable and professional.

Core Features & Use Cases

  • Automatic Formatting: Adds frontmatter, titles, headings, bold text, lists, and code blocks to plain text or existing markdown.
  • Typography Fixes: Corrects CJK/English spacing, replaces ASCII quotes with fullwidth quotes, and fixes emphasis punctuation.
  • Use Case: You have a draft blog post in plain text. Use this Skill to transform it into a well-formatted markdown file with a title, summary, and proper structure, ready for publishing.

Quick Start

Use the baoyu-format-markdown skill to format the article draft located in '~/Documents/draft.md'.

Frequently Asked Questions about baoyu-format-markdown

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

FAQPage Schema
How do I automatically fix CJK and English spacing in markdown files?

To fix CJK and English spacing in markdown files, this Skill processes text using remark-cjk-friendly and autocorrect-node, automatically inserting proper spacing between Chinese, Japanese, or Korean characters and English words for professional readability.

How do I add frontmatter and structure to a plain text draft for publishing?

To add frontmatter and structure to a plain text draft, this Skill automatically parses your text and inserts YAML frontmatter, titles, headings, bold text, lists, and code blocks, transforming it into a well-formatted markdown file ready for publishing.

What is the best way to format markdown typography and replace ASCII quotes?

The best way to format markdown typography is using this Skill, which automatically replaces ASCII quotes with fullwidth quotes and corrects emphasis punctuation while applying remark-gfm for standard GitHub Flavored Markdown processing.

Does this markdown formatting tool support GitHub Flavored Markdown and frontmatter?

Yes, this markdown formatting tool supports GitHub Flavored Markdown and frontmatter. It utilizes remark-gfm for GFM compatibility and remark-frontmatter to parse and stringify YAML metadata blocks within your markdown files.

What are the limitations of using automated markdown formatting for article beautification?

A limitation of automated markdown formatting is that it focuses on structural and typographic corrections rather than content editing. It cannot rewrite prose or alter narrative flow, limiting its scope to adding headings, lists, and fixing spacing.