Skip to content
Convert old Confluence markup to Markdown
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
test
.gitignore
LICENSE.txt
README.md
package.json

README.md

confluence2markdown

Convert Confluence (3.5 and earlier) markup to Markdown.

Overview

$ npm install -g confluence2markdown
$ c2m < confluence.txt > markdown.md

What it handles:

  • {code} and {noformat} blocks
  • Lists (bullets and numbers)
  • {{monospace}}
  • Tables (some weird cases don't work)
  • Paired macros (note, info, writersnote, etc) These a rendered as HTML DIVs
  • Links & Images Pass either 'md' or 'kirby' to constructor to specify flavor of links.

Still to do:

  • Anchors for headings
  • TOC generation

Notes

This converter uses a fork of Florent Jaby's node-tokenizer.

You can’t perform that action at this time.