Page-by-page history for Docsify
npm install docsify-plugin-page-history
by simochee




Page-by-page history for Docsify.
Insert a script tag to load the plugin script file after loading the Docsify script.
``html`
Add history field to page front-matter.
`md
---
history:
- date: 2023-10-15 # recommended YYYY-MM-DD
message: |
Add awesome section.
- date: 2023-10-10
message: |
Initial release
---
...
`
Add @[page-history] to your markdown file
`mdHistory
@[page-history]
`
1. Clone this repository
1. Enable Corepack using corepack enablepnpm install
1. Install dependencies using pnpm run watch
1. Run watch mode using
1. Start server using Live Server
1. Insert a script tag to load the plugin script file after loading the Docsify script.
`html``
MIT