baoyu-format-markdown

Reformat Markdown and plain text with standardized frontmatter and typography.

5|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/szeyu/open-ssyok-finance --skill baoyu-format-markdown-szeyu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-format-markdown
Source: https://github.com/szeyu/open-ssyok-finance/tree/main/.agents/skills/baoyu-format-markdown
Command: npx skills add https://github.com/szeyu/open-ssyok-finance --skill baoyu-format-markdown-szeyu

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 with frontmatter, titles, summaries, headings, bold, lists, and code blocks.

Core Features & Use Cases

  • Frontmatter generation and formatting for titles, summaries, and slugs
  • Automatic typography improvements including spacing and emphasis handling
  • Output a formatted file named {filename}-formatted.md

Quick Start

Run the formatter on your Markdown file to produce a {filename}-formatted.md output.

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 Markdown files with standardized frontmatter and typography?

Formatting Markdown with frontmatter and typography involves standardizing titles, summaries, and slugs in the header block while improving spacing and emphasis. This process ensures consistent headings, bold text, lists, and code blocks across articles and docs.

How do I automatically generate frontmatter for titles, summaries, and slugs in Markdown?

To generate frontmatter for titles, summaries, and slugs in Markdown, run the formatter on your document. It parses the source text and produces a {filename}-formatted.md file containing the updated frontmatter block.

Does this Markdown formatter support GFM and CJK friendly typography?

Yes, this Markdown formatter supports GFM and CJK friendly typography. It leverages remark-gfm for GitHub Flavored Markdown and remark-cjk-friendly to apply automatic spacing and emphasis handling for CJK characters.

What is the best way to standardize Markdown headings, lists, and code blocks across multiple articles?

The best way to standardize Markdown headings, lists, and code blocks across multiple articles is to apply a unified formatting tool. It parses each document to enforce consistent structural formatting and typography rules, producing a new formatted file.

Can I use remark and unified to format plain text into structured Markdown?

Yes, you can use remark and unified to format plain text into structured Markdown. The parser processes plain text or markdown inputs and outputs a structured file with standardized frontmatter, headings, and code blocks.

Why does my Markdown output include a new file instead of overwriting the original document?

Your Markdown output includes a new file instead of overwriting the original document to preserve your raw source data. The formatter explicitly produces a {filename}-formatted.md file to ensure you retain the unformatted original.