Skip to main content
Deno 2 is finally here 🎉️
Learn more

Markdown2Confluence

Simple CLI to publish local Markdown files to Confluence.

Installation

Requires Deno (>=1.0.0).

$ deno install --unstable --allow-read --allow-env --allow-net -n m2c https://deno.land/x/functional_markdown2confluence.git@v0.1.1/cli.js

Usage

You can run the CLI by passing the Confluence content ID and the relative local file path – either HTML or Markdown.

$ m2c <confluence-content-id> <file-path>

Configurations

You can either store your configurations as environment variables or by passing the path to the configurations file.

// m2c.conf

domain={DOMAIN}
token={TOKEN}
username= {USERNAME}
$ m2c <confluence-content-id> <file-path> --configurations m2c.conf