@kimwz/merge-notion-htmls
v0.0.1
Published
A simple script to merge html files exported from Notion into one html file.
Downloads
1
Readme
What is.
A simple script to merge html files exported from Notion into one html file.
It is recommended in the following cases
- If you want to export the Notion's document as a single file
- If you want to keep internal links when merging into a single file
How to use
> git clone https://github.com/kimwz/notion-multiple-html-files-to-single
> cd notion-multiple-html-files-to-single
> npm install
> node ./merge.js target.html
load success : target.html
load success : subpage/a.html
load success : subpage/b.html
load success : subpage/c.html
...
exported : out.html
How to convert to pdf
It provides simple but powerful features in the browser.
- Open a single html file.
- Open Print Pages. (Ctrl or Cmd + P)
- Select the type as pdf and print it out. (Even if you do this, the internal link is still alive.)