catdown-hash
v1.0.0
Published
Stores Catdown editor content in the URL hash for basic persistance.
Downloads
3
Readme
catdown-hash
A Catdown plugin for loose persistance. It stores the editor's Markdown value in the URL hash after every change, encoded as base64. Upon initialisation it checks the URL hash, decodes the hash if present and sets the editors content.
Usage
Install with npm
.
$ npm install --save catdown-hash
use
it on your Catdown editor.
editor.use(require("catdown-hash"));