libdoc

Render Markdown documentation into static HTML sites with Mustache templates.

1|1|Updated Aug 7, 2025
One-click install
npx skills add https://github.com/copilot-ld/copilot-ld --skill libdoc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: libdoc
Source: https://github.com/copilot-ld/copilot-ld/tree/main/packages/libdoc
Command: npx skills add https://github.com/copilot-ld/copilot-ld --skill libdoc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

libdoc automates the process of turning Markdown documentation into fully rendered static sites by applying Mustache templates and providing a local server for development.

Core Features & Use Cases

  • Build static documentation from Markdown with front matter.
  • Serve and preview docs locally with live reload.
  • Parse front matter to extract metadata and render docs with templates for consistent branding.

Quick Start

Run the docs-build command in your project to generate the dist output from your docs.

Frequently Asked Questions about libdoc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a static documentation site from Markdown files?

You can build a static documentation site from Markdown by parsing content with front matter and rendering it through Mustache templates. This process formats your project docs into consistent HTML output, creating an indexed, searchable website for internal or public consumption.

What is front matter extraction and how does it work for documentation rendering?

Front matter extraction pulls metadata from the top of Markdown files to apply consistent branding during documentation rendering. By combining this metadata with Mustache templates, the process produces uniformly formatted HTML output across all your project pages.

Can I use Mustache templates with Markdown for static site generation?

Yes, Mustache templates work with Markdown for static site generation by defining consistent branding and layout structures. The system parses your Markdown content and injects it into the Mustache templates to produce final HTML output.

How do I serve and preview rendered Markdown docs locally?

You can serve and preview rendered Markdown docs locally by running the docs-build command to generate output, then using the built-in local server. This setup provides a local development environment to review your static site before deployment.

Do I need any external dependencies to generate HTML from Markdown using templates?

No external dependencies are required to generate HTML from Markdown using templates. The system handles Markdown parsing, front matter extraction, Mustache templating, and HTML formatting internally to produce the final static site output.