baoyu-format-markdown

Formats plain text and markdown files with frontmatter, headings, and typography fixes.

1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/Jackiexiao/jackie-skills-starter --skill baoyu-format-markdown-jackiexiao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-format-markdown
Source: https://github.com/Jackiexiao/jackie-skills-starter/tree/main/skills/baoyu-format-markdown
Command: npx skills add https://github.com/Jackiexiao/jackie-skills-starter --skill baoyu-format-markdown-jackiexiao

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 enhances the readability and structure of plain text and markdown files by automatically adding formatting, frontmatter, and typography improvements.

Core Features & Use Cases

  • Markdown Formatting: Adds titles, summaries, headings, bold text, lists, and code blocks to plain text.
  • Typography Fixes: Corrects CJK/English spacing and replaces ASCII quotes with fullwidth quotes.
  • Use Case: You have a draft article in plain text. Use this Skill to transform it into a well-formatted markdown document with a proper YAML frontmatter, clear headings, and improved typography.

Quick Start

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

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 plain text into markdown with YAML frontmatter and headings?

To format plain text into markdown with YAML frontmatter and headings, use this Skill to automatically add titles, summaries, bold text, lists, code blocks, and proper metadata structure to your draft articles.

How do I fix CJK and English spacing issues in markdown files?

To fix CJK and English spacing issues in markdown files, this Skill applies typography corrections using remark-cjk-friendly, automatically adding proper spacing between Chinese, Japanese, Korean characters and English words, and replacing ASCII quotes with fullwidth quotes.

Can I use remark-frontmatter and remark-gfm together to process markdown formatting?

Yes, you can use remark-frontmatter and remark-gfm together for markdown formatting. This Skill leverages both along with remark-cjk-friendly and remark-parse to parse, transform, and stringify markdown content with YAML metadata and GitHub Flavored Markdown support.

What's the best way to add YAML frontmatter to a plain text draft?

The best way to add YAML frontmatter to a plain text draft is using this Skill, which parses plain text input and automatically generates structured YAML metadata, headings, and formatted markdown output via the unified processing pipeline.

Does this markdown formatting tool support GitHub Flavored Markdown features?

Yes, this markdown formatting tool supports GitHub Flavored Markdown features. It integrates remark-gfm to parse and process GFM-specific syntax like tables, strikethrough, and task lists alongside standard markdown formatting and typography fixes.

Why does my markdown output need typography fixes like quote replacement?

Markdown output needs typography fixes like quote replacement to improve readability and visual consistency. This Skill replaces ASCII quotes with fullwidth quotes and corrects CJK/English spacing, ensuring professional formatting for mixed-language content.