baoyu-format-markdown

Format plain text and Markdown files with consistent styling and frontmatter.

13|1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/ideacco/baoyu-skills-openclaw --skill baoyu-format-markdown-ideacco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-format-markdown
Source: https://github.com/ideacco/baoyu-skills-openclaw/tree/main/skills/baoyu-format-markdown
Command: npx skills add https://github.com/ideacco/baoyu-skills-openclaw --skill baoyu-format-markdown-ideacco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill tackles the challenge of poorly formatted or inconsistently styled Markdown and plain text files, ensuring your content is clean, readable, and professional.

Core Features & Use Cases

  • Automatic Formatting: Applies consistent styling to headings, bold text, lists, code blocks, and quotes.
  • Frontmatter Management: Creates or updates YAML frontmatter with titles, slugs, and summaries.
  • Typography Enhancements: Corrects spacing between CJK and English characters and standardizes quote usage.
  • Use Case: You have a draft article written in plain text. Use this Skill to convert it into well-structured Markdown with a proper title, summary, and consistent formatting, ready for publishing.

Quick Start

Use the baoyu-format-markdown skill to format the file named 'my-draft-article.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 well-structured markdown?

To format plain text into well-structured markdown, this Skill applies consistent styling to headings, bold text, lists, code blocks, and quotes. It automatically converts your draft by adding titles, summaries, and generating YAML frontmatter ready for publishing.

Can I automatically generate frontmatter for my markdown files?

Yes, you can automatically generate frontmatter for your markdown files. The Skill creates or updates YAML frontmatter by extracting and adding metadata such as titles, slugs, and summaries to ensure your documents have consistent header data.

How do I fix CJK and English character spacing in markdown?

To fix CJK and English character spacing in markdown, this Skill performs typography enhancements that automatically correct spacing between Chinese/Japanese/Korean and English characters. It also standardizes quote usage to ensure your text is clean and professional.

What is the best way to add titles and summaries to multiple draft articles?

The best way to add titles and summaries to multiple draft articles is using this Skill's command-line options with file path inputs. It processes plain text or markdown files by automatically extracting key points, bolding them, and structuring the content with proper frontmatter.

Does this markdown formatting tool require any external dependencies?

No, this markdown formatting tool does not require any external dependencies to function. It operates independently using its built-in scripts to apply consistent styling, manage frontmatter, and enhance typography without needing additional packages.

Why are my markdown lists and quotes inconsistently styled when publishing?

Your markdown lists and quotes are inconsistently styled due to manual formatting variations across draft files. This Skill solves the problem by automatically applying uniform styling rules to standardize headings, bold text, lists, code blocks, and quotes throughout the document.