confluence-exporter-tool
v1.0.4-snapshot
Published
Convert full Confluence Storage Format XHTML to GitHub Markdown for Foam
Maintainers
Readme
confluence-exporter-tool
Convert Confluence Storage Format XHTML to GitHub Flavored Markdown (GFM).
Features
- Converts Confluence Storage Format to GitHub Flavored Markdown for use in Foam or other Markdown-based tools.
- Handles headings, lists, formatting, code blocks, macros, attachments, and more.
Installation
Clone this repository and install dependencies:
git clone <repo-url>
cd confluence-exporter-tool
npm installUsage
node bin/index.js --input <path-to-confluence-xml> [--output <output-md-file>]Or, if installed globally:
confluence-exporter-tool --input <path-to-confluence-xml> [--output <output-md-file>]--input(required): Path to the Confluence XML file.--output(optional): Path to save the output Markdown file. Defaults to./output/output.md.
Example
node bin/index.js --input examples/sample_full_confluence.xml --output output.mdExample Input
See examples/sample_full_confluence.xml for a sample Confluence XML file.
License
MIT
