LoveMarkdown
v1.0.2Markdown ⇄ Word (.docx) and Markdown → LaTeX.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
markdown_to_docx
Convert Markdown to a styled Word .docx file. Supports headings (real Word heading styles), bullet/ordered/nested lists, tables, code blocks, blockquotes, links, and horizontal rules. LaTeX math in $...$ / $$...$$ degrades to readable Unicode text (no browser rendering in this environment). Writes the file to disk and reports the output path and size.
| Parameter | Type | Description |
|---|---|---|
markdown * | string | The Markdown source text. |
output_path * | string | Absolute or relative path for the .docx file to write. |
docx_to_markdown
Convert a Word .docx file to clean Markdown. Headings, bold/italic, strikethrough, links, ordered/nested lists, code blocks, and blockquotes become Markdown; tables are kept as HTML. Native Word equations (OMML) are restored as LaTeX — inline $...$, display $$...$$. Optionally also writes the .md to disk.
| Parameter | Type | Description |
|---|---|---|
input_path * | string | Path to the .docx file. |
output_path | string | Optional path to also write the Markdown result to. |
markdown_to_latex
Convert Markdown to a complete, compilable LaTeX document (documentclass article, amsmath, listings, booktabs, hyperref). Headings become sections, code blocks become lstlisting environments, tables become tabular, math passes through for amsmath.
| Parameter | Type | Description |
|---|---|---|
markdown * | string | The Markdown source text. |
output_path | string | Optional path to also write the .tex result to. |