elegant document generation tool. 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.
- Install:
npm i -g simpler-paper - Init:
paper init. To create the document folder or generate the config file in existing folder. - Add markdown files in document folder.
- Create a folder named "assets" to store the images if needed.π€π€
- Add a munber prefix connected by '_' to sort the document or folder. (e.g. 1_firstDoc.md)
- Hierarchical directory generated by the documents folder.
- Build:
paper build. If you want to preview, runpaper server. - Deploy:
paper deploy. Deploy a Git repository to GitHub. Remember to set to GitHub pages.
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 }