Skip to content

Instantly share code, notes, and snippets.

@ftes
Created March 13, 2019 09:22
Show Gist options
  • Save ftes/d17d7e0d543028cb36e37fee16a53da1 to your computer and use it in GitHub Desktop.
Save ftes/d17d7e0d543028cb36e37fee16a53da1 to your computer and use it in GitHub Desktop.
Convert confluence to adoc
Steps:
1. `npm run start ../html ../md` (https://www.npmjs.com/package/confluence-to-markdown)
2. `for f in *.md; do pandoc "$f" -s -t asciidoc -o "${f%.md}.adoc"; done`
3. Manual cleanup (tables, images)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment