baoyu-format-markdown

Format plain text or Markdown into structured Markdown files with frontmatter and headings.

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

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?

Markdown formatting tasks are tedious and error-prone when converting plain text to well-structured Markdown with consistent frontmatter, headings, bold emphasis, lists, and code blocks. This Skill automates the formatting process to deliver publication-ready Markdown files with consistent style.

Core Features & Use Cases

  • Frontmatter normalization and title handling to ensure consistency across documents.
  • Typography improvements including proper bold, lists, headings, and code blocks for readability.
  • Output generated file named {filename}-formatted.md suitable for publication or further processing.

Quick Start

Place your source Markdown file anywhere in your project and run the formatter. The tool will generate a new file named {filename}-formatted.md in the same directory. Example: notes.md → notes-formatted.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 plain text into structured Markdown with YAML frontmatter?

Formatting plain text into structured Markdown with YAML frontmatter involves parsing the document to normalize headings, bold emphasis, lists, and code blocks, producing a publication-ready Markdown file with consistent style.

How do I normalize frontmatter and typography in a Markdown document?

Normalizing frontmatter and typography in a Markdown document requires parsing YAML metadata and adjusting text elements like bold, lists, and headings to ensure consistency, producing a properly formatted Markdown file.

What is the best way to automate CJK spacing in Markdown content editing?

Automating CJK spacing in Markdown content editing is best handled by using a dedicated parser that adjusts typography during serialization, ensuring proper spacing and formatting rules are applied consistently across the document.

Does this Markdown formatter work with GFM and YAML frontmatter?

Yes, this Markdown formatter works with GFM and YAML frontmatter by utilizing specific parsing and serialization dependencies, processing the document to format frontmatter, headings, lists, and code blocks for publication readiness.

What are the limitations of using remark for document formatting?

A limitation of using remark for document formatting is that it processes syntax and typography rules strictly through its parsing chain, meaning highly customized or non-standard Markdown elements might not be adjusted as expected without specific configuration.