baoyu-format-markdown

Format Markdown content with YAML frontmatter, headings, bold emphasis, and lists.

24.8k|2.8k|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/JimLiu/baoyu-skills --skill baoyu-format-markdown-jimliu
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: baoyu-format-markdown
Source: https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-format-markdown
Command: npx skills add https://github.com/JimLiu/baoyu-skills --skill baoyu-format-markdown-jimliu

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) components.

What problem does it solve?

Formats plain text or markdown files into well-structured documents by applying YAML frontmatter, consistent headings, bold emphasis, and properly formatted lists and code blocks. This ensures consistency, readability, and easier publication.

Core Features & Use Cases

  • Frontmatter generation and updates (title, slug, summary) to enable better discovery and navigation.
  • Structured formatting of headings, bold highlights, and lists to improve readability in documentation or articles.
  • Use Case: Convert a rough draft or plain text note into a publication-ready markdown file with {filename}-formatted.md.

Quick Start

Format the file you provide into a well-structured {filename}-formatted.md with frontmatter and improved 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 plain text into structured markdown with YAML frontmatter?▼

Markdown formatting applies YAML frontmatter, consistent headings, bold emphasis, and clean lists to plain text. It generates a publication-ready {filename}-formatted.md file while ensuring non-destructive text changes and preserving your original voice.

Can I update existing markdown frontmatter fields like title and slug without rewriting the content?▼

Markdown formatting updates YAML frontmatter fields such as title, slug, and summary when needed. It operates non-destructively on existing markdown files, preserving your voice while ensuring frontmatter consistency for better discovery and navigation.

Does markdown formatting work with GFM and CJK characters?▼

Markdown formatting supports GFM and CJK characters through remark-gfm and remark-cjk-friendly dependencies. It parses and stringifies markdown content ensuring typography consistency and proper handling of CJK text elements.

What is the best way to convert a rough draft into publication-ready markdown?▼

Markdown formatting converts rough drafts into publication-ready files by applying structured headings, bold highlights, and properly formatted lists and code blocks. It outputs a clean {filename}-formatted.md document with minimal text changes and improved readability.

Will markdown formatting alter my original writing style or text content?▼

Markdown formatting is non-destructive and preserves your voice throughout the process. It applies structural formatting like headings and lists while making minimal text changes to ensure your original content remains intact.