gdoc-math v1.0.0 — Markdown+LaTeX → Google Doc with editable equations
New plugin. /gdoc-math converts a Markdown file containing LaTeX into a native Google Doc whose equations are real, editable equation objects — not images, not literal $$ text. Fills the gap /copy:gdocs (Paste from Markdown) and Google's Export-to-Docs both leave open.
Pipeline: markdown+LaTeX →[pandoc]→ .docx (OMML) →[gws drive upload + convert --to docs]→ Google Doc (intermediate .docx auto-trashed). Verified end-to-end: equations round-trip as native m:oMath with zero embedded images.
Features
- Inline (
$…$), display ($$…$$), and\(…\)/\[…\]math - Input modes: a
.mdpath, inline content, or the last math content in the conversation --name,--folder,--keep-docx; optionaldefault_folder_idinconfig.jsonverify-setup.shpreflight + runnableexamples/laplace-smoothing.md
Requirements — pandoc, python3, and an authenticated gws (Google Workspace CLI). Verified at Step 0.
Note: complex LaTeX (stacked fractions, matrices, large operators) can lose fidelity on Google's import — spot-check those.
Hardened across three Codex review rounds. Relates to #24.