baoyu-format-markdown

Format plain text or markdown into structured markdown with YAML frontmatter.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/glfruit/gorin-skills --skill baoyu-format-markdown-glfruit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-format-markdown
Source: https://github.com/glfruit/gorin-skills/tree/main/openclaw/baoyu-format-markdown
Command: npx skills add https://github.com/glfruit/gorin-skills --skill baoyu-format-markdown-glfruit

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?

Formats plain text or markdown into well-structured, reader-friendly markdown, preserving the original content.

Core Features & Use Cases

  • Frontmatter normalization and YAML formatting
  • Structured headings, emphasis, lists, and code formatting for readability
  • Use Case: Convert rough drafts or notes into publish-ready Markdown with consistent style

Quick Start

Run the formatter on your Markdown file to produce a {filename}-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 markdown files without altering the original content?

Formatting plain text or markdown without changing content involves normalizing YAML frontmatter and structuring headings, emphasis, and lists for readability. This ensures consistent structure and typography for drafting, note-taking, and publishing workflows.

How do I normalize YAML frontmatter in a markdown document?

Normalizing YAML frontmatter in a markdown document involves standardizing metadata fields and syntax while preserving original values. This formatter restructures rough drafts into publish-ready markdown with consistent style and valid YAML.

Does this markdown formatter support GFM and CJK friendly text?

Yes, this markdown formatter supports GFM and CJK friendly text through its remark dependencies. It processes plain text or markdown into reader-friendly markdown, ensuring consistent structure and typography for CJK characters.

What is the best way to convert rough drafts into publish-ready markdown?

Converting rough drafts into publish-ready markdown involves applying structured formatting to headings, emphasis, lists, and code blocks while maintaining content integrity. This yields a consistently styled markdown file ready for publishing workflows.

Can I format markdown lists and bold emphasis for better readability?

Formatting markdown lists and bold emphasis for better readability involves applying consistent structure and typography to these elements. This process yields well-structured, reader-friendly markdown output without changing the original text content.

Are there limitations when formatting markdown files with this tool?

A key limitation when formatting markdown files with this tool is that it strictly preserves original content, meaning it will not fix typos or rewrite sentences. It solely adjusts structural formatting and YAML frontmatter, outputting a separate formatted markdown file.