md2all

Convert Markdown and Quarto documents to DOCX, PDF, and HTML.

4|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/Royalvice/PhDSkills --skill md2all
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: md2all
Source: https://github.com/Royalvice/PhDSkills/tree/main/md2all
Command: npx skills add https://github.com/Royalvice/PhDSkills --skill md2all

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the process of converting Markdown and Quarto documents into professional publishing formats like DOCX, PDF, and HTML, ensuring consistent formatting and reducing manual conversion effort.

Core Features & Use Cases

  • Multi-format Publishing: Convert .md or .qmd files to DOCX, PDF, or HTML.
  • Template Management: Apply predefined templates for academic, business, or general documents.
  • Environment Setup: Automates the installation and verification of necessary tools like Quarto, Pandoc, and TinyTeX.
  • Deterministic Conversion: Prioritizes script-based conversion for reliable and reproducible results.
  • Use Case: Convert your research paper draft written in Markdown into a DOCX file using a specific thesis template, ensuring correct citation formatting and layout.

Quick Start

Use the md2all skill to convert the file 'report.md' into a DOCX document using the 'academic-report' template.

Frequently Asked Questions about md2all

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

FAQPage Schema
How do I convert Markdown to PDF and DOCX using a specific template?

You can convert Markdown to PDF and DOCX by applying predefined templates for academic, business, or general documents. The process uses a DOCX-first workflow with deterministic script-based conversion to ensure reliable formatting and consistent publishing outputs.

Can I use Quarto files to generate HTML and PDF publishing outputs?

Yes, Quarto files (.qmd) can be converted into HTML, PDF, and DOCX formats. The conversion prioritizes deterministic script-based rendering over LLM-assisted editing to ensure reproducible document generation.

Do I need to install Pandoc and TinyTeX before converting Markdown to PDF?

Environment setup for Pandoc, Quarto, and TinyTeX is automated and verified during the conversion process. This ensures all necessary dependencies are installed before generating your PDF or DOCX outputs.

What is the best way to manage bibliographies when converting Markdown to DOCX?

Bibliography management is supported natively during the Markdown to DOCX conversion. By using predefined templates like an academic report, you ensure correct citation formatting and layout without manual editing effort.

Why use a script-based conversion process instead of LLM-assisted editing for document publishing?

Script-based conversion is prioritized to provide deterministic and reliable document rendering. This ensures your Markdown and Quarto files generate reproducible PDF and DOCX outputs without the variability of LLM-assisted editing.

Does this conversion approach support academic thesis templates for PDF output?

Yes, you can apply predefined templates for academic documents when converting Markdown to PDF. This streamlines formatting for research paper drafts and ensures correct layout and citation formatting for thesis outputs.