Quarto Clean

Cleans a Quarto (.qmd) file by replacing LaTeX holdovers with proper Quarto/Pandoc syntax so the document renders correctly to HTML, PDF (Typst/LaTeX), and Word. Fixes citations (\citep → [@key]), cross-references (\ref → @label), figures (\includegraphics → markdown), tables, text formatting (\textbf → **bold**), inline math (\( \) → $ $), hyperlinks (\href → [text](url)), footnotes (\footnote → ^[]), list environments, section headings, and R Markdown chunk options (dot-style → #| YAML). Use when asked to clean, fix, modernize, or port a Quarto or R Markdown document; when LaTeX commands appear in a .qmd file; when a document fails to render to Word or Typst; or when citations/cross-references do not appear in non-LaTeX output.

brycewang-stanford Updated 1k repo stars

File contents

brycewang-stanford/Auto-Empirical-Research-Skills/tree/main/skills/22-christopherkenny-skills/skills/quarto-clean commit 6cfeb44f30

Frequently asked questions

npx skillmds@latest add brycewang-stanford/quarto-clean