Install
openclaw skills install mxeConvert Markdown files to PDF, DOCX, or HTML with advanced formatting, Mermaid diagrams, custom fonts, and table of contents support.
openclaw skills install mxeConvert Markdown files to PDF, DOCX, or HTML with advanced features.
Use MXE when the user wants to:
which mxe || echo "Not installed"
If not installed:
cd /Users/tuan/.openclaw/workspace/mxe && npm run build && npm link
# Simple PDF conversion
mxe document.md
# With table of contents
mxe document.md --toc
# Specify output directory
mxe document.md -o ./output
# Custom body font
mxe document.md --font roboto
# Custom code font
mxe document.md --mono-font fira-code
# Both
mxe document.md --font inter --mono-font jetbrains-mono
Available body fonts: inter (default), roboto, lato, opensans, source-sans, merriweather
Available mono fonts: jetbrains-mono (default), fira-code, source-code
# Default theme
mxe document.md
# Forest theme
mxe document.md --mermaid-theme forest
# Hand-drawn style
mxe document.md --hand-draw
# Dark theme with ELK layout
mxe document.md --mermaid-theme dark --mermaid-layout elk
Themes: default, forest, dark, neutral, base
# Professional PDF with all features
mxe report.md \
--toc \
--font roboto \
--mono-font fira-code \
--mermaid-theme forest \
-o ./output
mxe doc.md -f pdf # PDF (default)
mxe doc.md -f docx # Word document
mxe doc.md -f html # HTML file
mxe doc.md -f clipboard # Copy to clipboard
# Download and convert URL to PDF
mxe https://example.com/article
# Download as Markdown only
mxe https://example.com/article -f clipboard
npm i -g @mermaid-js/mermaid-cli-s style.css for custom styling--no-bookmarks)Tool source: /Users/tuan/.openclaw/workspace/mxe