A very simple document generator. preview.
Quickly build and deploy markdown files with a few commands.
-
Agility. just one script(only ~3kb gzipped), no framework.
-
Easy. just one command.
-
Lazy load.
-
Auto compatible mobile phone.
-
More themes. simpler-paper-themes
-
install:
npm i -g simpler-paper -
init:
paper init. to create the doc folder or generate the config file in existing folder. -
add markdown files in document folder. 🤔🤔
-
build:
paper build. if you want preview:paper server. -
deploy:
paper deploy. make sure the current directory of operations is a Git repository. Set to GitHub pages on GitHub after deployment.
You can create a paper.config.json file in the document directory.
Run
paper initcan quickly createpaper.config.json
// paper.config.json
{
// document the alias, the value will be displayed after compilation, default: null
"alias": {
"quickstart": "Getting Started",
...
},
// document title, default: "simpler paper"
"title": "",
// back to top button, default: true
"backToTop": true,
// document page path, default: "/"
"docPath": "/",
// loading indicator, default: true
"indicator": true
}