mix docxir (docxir v0.1.0)

View Source

Converts DOCX files to HTML with Tailwind CSS styling.

Usage

mix docxir INPUT_FILE OUTPUT_FILE [OPTIONS]

Arguments

  • INPUT_FILE - Path to the input DOCX file
  • OUTPUT_FILE - Path where the HTML file should be written

Options

  • --title TITLE - Set the document title (default: "Document")
  • --lang LANG - Set the HTML language code (default: "zh-TW")

Examples

# Basic conversion
mix docxir contract.docx contract.html

# With custom title
mix docxir contract.docx output.html --title "Rental Agreement"

# With custom language
mix docxir document.docx output.html --lang en --title "My Document"