baoyu-format-markdown

Format markdown files with frontmatter, headings, lists, and code blocks.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/lucasFR2/LogiSync --skill baoyu-format-markdown-lucasfr2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-format-markdown
Source: https://github.com/lucasFR2/LogiSync/tree/main/skills/baoyu-format-markdown
Command: npx skills add https://github.com/lucasFR2/LogiSync --skill baoyu-format-markdown-lucasfr2

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill formats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks, improving the readability and structure of the content.

Core Features & Use Cases

  • Formatting: Adds proper titles, summaries, headings, bold, lists, and code blocks to plain text or markdown files.
  • Readability: Enhances the readability and structure of the content.
  • Use Case: Use this Skill when you want to format a markdown file to make it more reader-friendly or when you need to add missing metadata to a markdown document.

Quick Start

Run the 'baoyu-format-markdown' skill on a markdown file named '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 automatically add headings and metadata to a plain text file?

To format plain text files, this Skill automatically injects frontmatter, titles, summaries, headings, bold text, lists, and code blocks to improve document structure and overall readability.

What is the best way to format markdown files for better readability?

Formatting markdown files for readability involves applying structural elements like headings, bold emphasis, lists, and code blocks, while adding frontmatter summaries to provide a clear content overview.

Can I use bun and npx to process markdown text formatting?

Yes, you can use bun and npx to process markdown text formatting, as these dependencies support running the scripts needed to parse and restructure your documents with proper headings and frontmatter.

Does markdown formatting work with existing code blocks and syntax highlighting?

Markdown formatting works with existing code blocks by preserving and properly structuring them for syntax highlighting, ensuring your code snippets remain readable within the newly organized text sections.

How do I add frontmatter and summaries to an unstructured markdown document?

To add frontmatter and summaries to an unstructured markdown document, run a text processing script that analyzes your content and automatically generates the missing metadata alongside proper section headings.

When should I use an automated markdown formatter instead of manual editing?

You should use an automated markdown formatter instead of manual editing when you need to quickly restructure large plain text files with consistent headings, lists, and code blocks without tedious hand-formatting.