baoyu-format-markdown

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

1|1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/SwimmingLiu/easy-skills --skill baoyu-format-markdown-swimmingliu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-format-markdown
Source: https://github.com/SwimmingLiu/easy-skills/tree/main/skills/markdown/baoyu-format-markdown
Command: npx skills add https://github.com/SwimmingLiu/easy-skills --skill baoyu-format-markdown-swimmingliu

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) and references (resource) components.

What problem does it solve?

This Skill enhances the readability and scannability of plain text or markdown files by intelligently applying formatting, improving structure, and correcting typography without altering the original content.

Core Features & Use Cases

  • Intelligent Formatting: Adds frontmatter, titles, summaries, headings, bolding, lists, and code blocks to improve article layout.
  • Typography Correction: Fixes quotes, CJK/English spacing, and emphasis punctuation.
  • Use Case: You have a draft blog post in plain text and want to make it look professional and easy to read for your audience.

Quick Start

Use the baoyu-format-markdown skill to optimize the formatting of the attached file 'my-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 format a plain text draft into a structured markdown article?

Markdown typography correction fixes quotes, CJK/English spacing, and emphasis punctuation. It uses remark-cjk-friendly and autocorrect-node to automatically adjust text spacing without altering your original content.

Can I use this to add frontmatter and summaries to markdown files?

Yes, you can use this to add frontmatter and summaries to markdown files. It processes plain text or markdown drafts to append frontmatter, titles, summaries, headings, bolding, lists, and code blocks for improved article layout.

What's the best way to fix CJK and English spacing in markdown?

The best way to fix CJK and English spacing in markdown is using automated typography correction. This Skill leverages remark-cjk-friendly and autocorrect-node to adjust spacing and correct quotes without altering original content.

Does this markdown formatting tool change my original content?

No, this markdown formatting tool does not change your original content. It improves readability and scannability by intelligently applying structural formatting and correcting typography around the existing text.

Why does my markdown draft need typography correction?

Your markdown draft needs typography correction to fix inconsistent quotes, CJK/English spacing, and emphasis punctuation. Correcting these typographic elements ensures the article looks professional and is easy to read.