JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 37
  • Score
    100M100P100Q65243F
  • License MIT

n8n custom node for converting DOCX files to Markdown using Pandoc

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (n8n-nodes-pandoc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    n8n-nodes-pandoc

    This is an n8n community node that allows you to convert DOCX files to Markdown using Pandoc.

    n8n is a fair-code licensed workflow automation platform.

    Prerequisites

    Before using this node, you need to have Pandoc installed on your system:

    Windows

    # Using Chocolatey
    choco install pandoc
    
    # Using Scoop
    scoop install pandoc
    
    # Or download from: https://github.com/jgm/pandoc/releases

    macOS

    # Using Homebrew
    brew install pandoc
    
    # Using MacPorts
    sudo port install pandoc

    Linux

    # Ubuntu/Debian
    sudo apt-get install pandoc
    
    # CentOS/RHEL/Fedora
    sudo yum install pandoc
    # or
    sudo dnf install pandoc
    
    # Arch Linux
    sudo pacman -S pandoc

    Installation

    Follow the installation guide in the n8n community nodes documentation.

    1. Go to Settings > Community Nodes
    2. Select Install
    3. Enter n8n-nodes-pandoc as the package name
    4. Select Install

    After installation, the Pandoc Converter node will be available in your n8n instance.

    Operations

    Convert DOCX to Markdown

    Converts a DOCX file to Markdown format using Pandoc.

    Configuration

    • Input Data Field Name: The name of the binary property containing the DOCX file (default: "data")
    • Output Data Field Name: The name of the binary property where the converted Markdown will be stored (default: "data")
    • Additional Pandoc Options: Optional command-line arguments to pass to Pandoc (e.g., --extract-media=./media --wrap=none)

    Example Workflow

    1. HTTP Request node to download a DOCX file
    2. Pandoc Converter node to convert DOCX to Markdown
    3. Write Binary File node to save the Markdown file

    Additional Pandoc Options Examples

    • --extract-media=./media - Extract embedded media files
    • --wrap=none - Disable text wrapping
    • --standalone - Produce a standalone document
    • --toc - Include table of contents
    • --reference-links - Use reference-style links

    Compatibility

    This node has been tested with:

    • n8n version 1.0.0+
    • Pandoc version 2.0+

    Resources

    License

    MIT