export-document

Export Markdown documents to print-ready DOCX and PDF with Mermaid diagrams.

1|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/VanLengs/astra-studio-plugins --skill export-document
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: export-document
Source: https://github.com/VanLengs/astra-studio-plugins/tree/main/studio-docs/skills/export-document
Command: npx skills add https://github.com/VanLengs/astra-studio-plugins --skill export-document

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Exports Markdown documents to print-ready DOCX and PDF with Mermaid diagram rendering and government-compliant formatting applied.

Core Features & Use Cases

  • Mermaid diagram rendering to images within the export pipeline.
  • DOCX and PDF generation with precise page layout, fonts, margins, headers, and footers.
  • Suitable for producing formal government or institutional documents from Markdown sources, including long-form reports and technical documents.

Quick Start

Provide a Markdown source file and desired output formats to generate DOCX and/or PDF.

Frequently Asked Questions about export-document

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

FAQPage Schema
How do I convert Markdown to PDF with Mermaid diagrams rendered?

To convert Markdown to PDF with Mermaid diagrams, you need an export pipeline that renders diagrams to images before final document generation. This Skill automates that rendering process and applies fixed typography to produce print-ready PDF files.

Can I generate government-compliant DOCX from Markdown sources?

Yes, you can generate government-compliant DOCX from Markdown sources. This export tool applies precise page layouts, fonts, margins, headers, and footers required for formal institutional and government reports.

What is the best way to export technical Markdown reports to DOCX and PDF?

The best way to export technical Markdown reports to DOCX and PDF is using an automated pipeline that handles argument parsing, dependency verification, and output quality checks. This ensures fixed typography and diagram rendering are correctly applied.

Does this Markdown export pipeline support fixed typography and custom margins?

Yes, the Markdown export pipeline supports fixed typography and custom margins. It enforces precise page layout configurations including headers and footers to meet formal document formatting standards during DOCX and PDF generation.

Do I need pandoc installed to export Markdown to DOCX and PDF?

Pandoc is a core dependency for converting Markdown to DOCX and PDF formats. The export pipeline performs dependency verification as part of its end-to-end processing to ensure all required tools are available before generation.

Why are my Mermaid diagrams not rendering when exporting Markdown to PDF?

Mermaid diagrams fail to render when exporting Markdown to PDF if the pipeline lacks integrated diagram-to-image conversion. This Skill handles Mermaid rendering internally before passing the document to the final PDF generation stage.