Export HTML from confluence with nice style (just one code).
- Confluence page can't be converted into manual or docment for users.
- Exported HTML by confluence's export tool is so ugly and has a lot of bugs.
node ^4.5.0
npm ^3.0.0
oryarn ^0.17.0
-
git clone
or download repo. -
npm install
oryarn
-
npm start [confluence page id] [Doc name]
eg:
npm start 741256 Doc-1.0
will export all page the children of page with id is 741256 -
Export HTML file to the
./build
, openindex.html
.
- For some reason, we just support to export the pages in deepth of two now.
- Please refrain from using macro in confluence, Don't use macro in table.
- Catalog sort by create time.
- Image use
.png
. - No support macro beside image and plain-text or rich-text
- Continue, Anything just post Issues.