doc-generator

Converts Markdown-formatted text into styled HTML and PDF via Puppeteer and pdf-lib templates.

Updated May 10, 2026
One-click install
npx skills add https://github.com/VMRam95/vmram-skills --skill doc-generator-vmram95
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-generator
Source: https://github.com/VMRam95/vmram-skills/tree/main/skills/doc-generator
Command: npx skills add https://github.com/VMRam95/vmram-skills --skill doc-generator-vmram95

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires puppeteer, pdf-lib, and includes scripts (resource) components.

What problem does it solve?

This skill solves the friction of manually formatting technical documentation, reports, or budgets by automating the conversion of Markdown files into styled, professional HTML and PDF documents.

Core Features & Use Cases

  • Multi-Template Support: Choose from specialized templates like AWS-style cloud docs, corporate reports, or professional budget layouts.
  • Advanced PDF Generation: Uses a robust Puppeteer-based workflow to handle complex requirements like custom footers, cover pages, and clickable internal links.
  • Use Case: Quickly transform a raw technical specification or a project proposal into a polished, branded PDF ready for client delivery or internal distribution.

Quick Start

Use the doc-generator skill to convert the file document.md into a corporate-styled PDF document.

Frequently Asked Questions about doc-generator

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

FAQPage Schema
How do I convert Markdown to PDF with custom headers and footers?

To convert Markdown to PDF with custom headers and footers, you can use an automated Puppeteer-based workflow that transforms Markdown into styled HTML and then renders a professional PDF document using predefined CSS templates.

What is the best way to automate technical documentation generation from Markdown?

Automating technical documentation generation from Markdown is best handled by a conversion tool that applies specialized CSS templates, such as AWS-style cloud docs, and uses Puppeteer to manage complex PDF rendering and clickable internal links.

Can I use Puppeteer and pdf-lib to merge PDF pages and add link annotations?

Yes, you can use Puppeteer and pdf-lib to merge PDF pages and add link annotations, as these dependencies manage complex PDF rendering, page merging, and clickable internal links during the Markdown to PDF conversion process.

Does Markdown to PDF conversion support corporate report templates and budget layouts?

Markdown to PDF conversion supports corporate report templates and budget layouts by utilizing predefined CSS templates to style the HTML output, ensuring the final PDF documents are formatted for professional client delivery.

Why does Markdown to PDF conversion require a headless browser like Puppeteer?

Markdown to PDF conversion requires Puppeteer because it handles advanced rendering requirements like cover pages, custom footers, and clickable internal links that standard Markdown parsers cannot generate within the final PDF document.

What are the limitations of using predefined CSS templates for Markdown to PDF generation?

The limitation of using predefined CSS templates for Markdown to PDF generation is that your document styling is constrained to the available layouts, restricting highly customized design modifications outside the provided template structure.