baoyu-format-markdown

Format plain text or markdown files with frontmatter, headings, bold, lists, and code blocks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bun, npx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of converting plain text or markdown into well-structured, reader-friendly content, improving the overall layout and readability.

Core Features & Use Cases

  • Formatting Optimization: Enhances readability by improving headings, bold text, lists, and code blocks.
  • Typography Correction: Corrects spacing and emphasis issues in CJK/English text.
  • Customization: Allows users to apply custom formatting rules through the EXTEND.md file.
  • Use Case: If you have a markdown document that you want to improve the formatting of, such as adding proper headings, bolding key points, and fixing typography issues, this skill can help.

Quick Start

Use the baoyu-format-markdown skill to format the markdown file 'example.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 a markdown file to improve readability and structure?

To format markdown, this skill processes plain text or markdown files by adding frontmatter, titles, summaries, headings, bold text, lists, and code blocks. It outputs the improved structure to a new file named {filename}-formatted.md.

Can I fix typography and spacing issues in mixed CJK and English markdown text?

Yes, you can fix typography and spacing issues in mixed CJK and English text. The formatting optimization corrects emphasis problems and adjusts spacing automatically to ensure your markdown document is reader-friendly.

How do I add custom formatting rules when beautifying an article?

To add custom formatting rules when beautifying an article, you can apply specific configurations through the EXTEND.md file. This allows you to customize how headings, bold text, and lists are structured beyond the default formatting optimization.

Do I need bun or npx installed to use this markdown formatting skill?

Yes, you need bun or npx installed in your environment. These dependencies are required to execute the scripts that parse your markdown text and apply the formatting optimizations to generate the final document.

What is the best way to automatically add summaries and frontmatter to plain text?

The best way to automatically add summaries and frontmatter to plain text is using a dedicated markdown formatting skill. It parses your unstructured text and injects proper markdown elements, outputting a structured and beautified markdown file.