Transform document to match target template style
Transforms document frontmatter and structure to match a target template style.
/plugin marketplace add cadrianmae/claude-marketplace/plugin install pandoc@cadrianmae-claude-marketplace<input> <target-style>Ask Claude to transform a document's frontmatter and structure to match a target template style.
academic-paper - Academic paper with citationsthesis - Thesis/report with title pagearticle - Simple articlepresentation-beamer - PDF slidespresentation-reveal - Web slidesOCR → Academic Paper:
# Before (OCR metadata)
---
title: "Document Title"
processed_date: "2025-11-15"
ocr_model: "model-name"
---
# After (Academic)
---
title: "Paper Title"
author: "Author Name"
date: "Month Year"
bibliography: references.bib
csl: harvard.csl
documentclass: report
fontsize: 12pt
geometry: margin=1in
numbersections: true
---
Simple → Thesis:
# Before
---
title: "Document"
author: "Name"
---
# After
---
title: "Thesis Title"
author: "Student Name"
supervisor: "Supervisor Name"
institution: "University Name"
department: "Department Name"
degree: "Degree Name"
bibliography: references.bib
csl: harvard.csl
documentclass: report
toc: true
lof: true
lot: true
---
cp document.md document.md.bak"Restyle this document to match the thesis template" "Transform this OCR output to academic paper format" "Convert this to presentation style" "Reformat this with proper academic frontmatter"
Template from PDF/OCR:
source, processed_date, ocr_model, processorauthor, date, documentclass, geometrytitle to actual document titleBlog/Draft → Academic:
bibliography, csl, documentclassfontsize, geometry, numbersectionsArticle → Thesis:
supervisor, institution, department, degreetoc, lof, lot