Mxe

# MXE Skill - Markdown Export Tool

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Mxe" with this command: npx skills add tuanpmt/mxe

MXE Skill - Markdown Export Tool

Convert Markdown files to PDF, DOCX, or HTML with advanced features.

When to Use

Use MXE when the user wants to:

  • Convert Markdown to PDF with nice formatting
  • Export documents with Mermaid diagrams
  • Generate PDFs with table of contents
  • Create professional documents from Markdown
  • Download web articles as Markdown

Installation Check

which mxe || echo "Not installed"

If not installed:

cd /Users/tuan/.openclaw/workspace/mxe && npm run build && npm link

Basic Usage

# Simple PDF conversion
mxe document.md

# With table of contents
mxe document.md --toc

# Specify output directory
mxe document.md -o ./output

Font Options

# 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

Mermaid Diagrams

# 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

Full Example

# Professional PDF with all features
mxe report.md \
  --toc \
  --font roboto \
  --mono-font fira-code \
  --mermaid-theme forest \
  -o ./output

Output Formats

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 Web Articles

# Download and convert URL to PDF
mxe https://example.com/article

# Download as Markdown only
mxe https://example.com/article -f clipboard

Tips

  1. Mermaid requires mmdc: Install with npm i -g @mermaid-js/mermaid-cli
  2. Images are embedded: Local images are base64 encoded into the PDF
  3. Custom CSS: Use -s style.css for custom styling
  4. Bookmarks: PDF bookmarks are auto-generated from headings (disable with --no-bookmarks)

Location

Tool source: /Users/tuan/.openclaw/workspace/mxe

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Markdown to PDF (Styled)

Convert Markdown files to styled PDFs using pandoc and wkhtmltopdf with built-in or custom CSS style options.

Registry SourceRecently Updated
0295
Profile unavailable
General

File to Markdown Converter

Convert documents, spreadsheets, images, and structured files into clean, structured Markdown optimized for AI processing without authentication.

Registry SourceRecently Updated
0354
Profile unavailable
General

Markitdown Converter

使用微软 markitdown 库将多种文档格式(PDF、DOC、DOCX、PPT、HTML等)转换为 Markdown。支持批量转换、保留格式、图片提取等功能。使用场景:(1) "把这个 PDF 转成 Markdown",(2) "批量转换这个文件夹里的文档",(3) "提取文档中的图片"。

Registry SourceRecently Updated
054
Profile unavailable