baoyu-format-markdown

Format plain text and markdown files into structured documents with frontmatter and typography fixes.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/Dante-dan/dan-skills --skill baoyu-format-markdown-dante-dan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-format-markdown
Source: https://github.com/Dante-dan/dan-skills/tree/main/vendor-backup/baoyu-format-markdown
Command: npx skills add https://github.com/Dante-dan/dan-skills --skill baoyu-format-markdown-dante-dan

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?

This Skill solves the problem of manually restructuring plain text and markdown into clean, readable documents with consistent formatting, metadata, and typography.

Core Features & Use Cases

  • Markdown Structuring: Adds frontmatter, titles, headings, bold emphasis, lists, code blocks, and other formatting elements while preserving original content.
  • Typography Enhancement: Applies CJK-friendly formatting, spacing improvements, and optional quote normalization for better readability.
  • Use Case: Turn a draft article or unformatted notes into a publication-ready markdown file with improved layout and consistent styling.

Quick Start

Use the baoyu-format-markdown skill to format my draft article and create a polished markdown version.

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 structured markdown with frontmatter?

To format plain text into structured markdown, this Skill applies deterministic remark-based transformations to add frontmatter, headings, bold emphasis, and lists while preserving original content. It restructures unformatted drafts into clean, readable documents with consistent metadata.

What is CJK-friendly markdown formatting and how does it improve readability?

CJK-friendly markdown formatting applies specific spacing improvements and typography fixes for Chinese, Japanese, and Korean text. It normalizes spacing between CJK and Latin characters to enhance readability and ensure consistent typography across mixed-language documents.

Can I use remark to add metadata and clean up formatting for markdown publishing workflows?

Yes, you can use remark to add metadata and clean up formatting for markdown publishing workflows. This Skill leverages remark-parse, remark-stringify, and remark-frontmatter to generate metadata and apply deterministic formatting transformations for article preparation.

Does this markdown formatting tool support GitHub Flavored Markdown?

Yes, this markdown formatting tool supports GitHub Flavored Markdown. It includes remark-gfm as a dependency to parse and stringify GFM syntax, allowing it to process code blocks, lists, and other formatting elements specific to GFM during cleanup.

What is the best way to turn unformatted notes into a publication-ready markdown file?

The best way to turn unformatted notes into a publication-ready markdown file is applying automated typography enhancement and markdown structuring. This Skill adds frontmatter, titles, and headings while applying CJK-friendly spacing to produce consistent styling.

Do I need yaml and remark-frontmatter to generate metadata in markdown files?

Yes, you need yaml and remark-frontmatter to generate metadata in markdown files. This Skill uses yaml to parse and structure frontmatter metadata, while remark-frontmatter handles the extraction and injection of metadata blocks during the formatting process.