A developer-grade Markdown toolchain for teachers to write exams, rubrics, and answer keys with zero layout hassle.
PedagogyMark is an open-source Markdown and TypeScript toolchain designed to eliminate the formatting overhead of school examination documents. Write a single .md source file, then automatically generate print-ready Student Exam Sheets and Teacher Answer Keys / Rubrics in PDF format.
- Single Source of Truth: Write questions, multiple-choice options, answer keys, and essay rubrics inside a single Markdown file.
- Native Math & Diagrams: Full support for mathematical and physical formulas via KaTeX, alongside scientific diagrams via Mermaid.js, without uploading external image assets.
- Dual-View Print Engine: Instant rendering for two document variants:
- Student Mode: A clean exam sheet omitting answer keys.
- Teacher Mode: A complete exam sheet featuring explanations, answer keys, and rubric indicators.
- Standard Exam Layout: Built-in CSS Paged Media automatically handles page breaks to prevent question blocks from splitting across pages.
- CLI & Web Studio Hybrid: Execute via terminal (
npx pedamark) or utilize the interactive Web Studio with live preview capabilities.
Install the CLI globally or run it directly using npx:
# Global Installation
npm install -g pedagogy-mark
# Verify Version
pedamark --version