baoyu-format-markdown

Format plain text or Markdown into structured Markdown with frontmatter.

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

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 into well-structured Markdown with frontmatter, proper headings, and typography, saving time on editorial polishing.

Core Features & Use Cases

  • Frontmatter generation and formatting for consistent metadata
  • Heading and typography improvements, bold emphasis, and list formatting
  • Use Case: convert raw notes or drafts into publication-ready Markdown with a {filename}-formatted.md output

Quick Start

Format a Markdown file to produce a -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 plain text drafts into structured Markdown with frontmatter?

You can format plain text into structured Markdown by processing raw notes through this skill, which automatically generates consistent frontmatter, proper headings, and typography. It outputs a publication-ready file with a -formatted.md suffix.

What is the best way to add frontmatter to Markdown documentation automatically?

The best way to add frontmatter automatically is using this skill's included scripts, which parse your content and generate structured YAML metadata. This ensures consistent frontmatter formatting across all your documentation and notes.

Can I use remark and unified to improve Markdown typography and heading structure?

Yes, you can use remark and unified to improve typography and heading structure. This skill leverages remark-parse, remark-stringify, and remark-gfm dependencies to process and format Markdown content with proper bold emphasis and list formatting.

Does this Markdown formatting skill support GFM and CJK-friendly text processing?

This Markdown formatting skill supports both GFM and CJK-friendly text processing through its dependencies. It integrates remark-gfm for GitHub Flavored Markdown and remark-cjk-friendly to ensure proper typography for Chinese, Japanese, and Korean characters.

Why does my Markdown file need frontmatter generation before publishing blog posts?

Your Markdown file needs frontmatter generation before publishing blog posts to ensure consistent metadata like titles, dates, and tags are structured properly. This skill automates that editorial polishing step, saving time and preventing manual formatting errors.

Are there limitations when converting raw notes to publication-ready Markdown with frontmatter?

When converting raw notes to publication-ready Markdown, limitations depend on the input format's structure. This skill requires text or basic Markdown input and relies on unified and remark plugins, meaning heavily styled non-Markdown formats may need pre-processing.