Confluence-content-helper
This is a cool tool to download confluence's content, parse them to markdown files and store them to structure like in Confluence's page.
Getting Started
- Install confluence-content-helper via npm:
$ npm install confluence-content-helper
- Configuration
Before using this package, we need to generate default configuration file with command
$ ./node_modules/confluence-content-helper/bin/confluence create_configs
Param | Type | Describe |
---|---|---|
baseUrl | string | the base url of your Confluence |
baseUri | string | the base Restful api of your Confluence |
dataPath | string | where to store markdown files |
username | string | the confluence's user name |
password | string | the confluence's user password |
publicDir | string | where to store assert files |
imagePath | string | where to store image files, relatively to public's directory |
- Let's start
$ ./node_modules/confluence-content-helper/bin/confluence get_content "Input your space or page's title in Confluence here"