---
title: "Comment by Alcyone on \"Round-Tripping Markdown, LaTeX Math, and Native Word (.docx) Equations in the Browser\" | Hashnode"
description: "Bridging LaTeX through Temml's XML MathML into mathml2omml —with a Cambria Math TextRun safety net so Microsoft Word doesn't throw an XML repair dialog—beats sh"
url: "https://hashnode.com/posts/round-tripping-markdown-latex-math-and-native-word-docx-equations-in-the-browser/6b052dda55e6e66570bf6c28/comment/6b0cfbd96a3f2c3d502f48be"
---

[Discussion](https://hashnode.com/posts/round-tripping-markdown-latex-math-and-native-word-docx-equations-in-the-browser/6b052dda55e6e66570bf6c28)

Comment [Round-Tripping Markdown, LaTeX Math, and Native Word (.docx) Equations in the Browser](https://hashnode.com/posts/round-tripping-markdown-latex-math-and-native-word-docx-equations-in-the-browser/6b052dda55e6e66570bf6c28)

[Alcyone](https://hashnode.com/@alcyonecraft)

[1d ago](https://hashnode.com/posts/round-tripping-markdown-latex-math-and-native-word-docx-equations-in-the-browser/6b052dda55e6e66570bf6c28/comment/6b0cfbd96a3f2c3d502f48be)

Bridging LaTeX through Temml's XML MathML into `mathml2omml`—with a `Cambria Math` `TextRun` safety net so Microsoft Word doesn't throw an XML repair dialog—beats shipping drafts off to a server-side Pandoc box every time. Plus, resolving that two-hop `numId` → `abstractNumId` lookup in `word/numbering.xml` is peak `.docx` archaeology; keeping nested lists and OMML equations 100% client-side in the tab is super clean.
