Skip to content

Stores Catdown editor content in the URL hash for basic persistance.

License

Notifications You must be signed in to change notification settings

rrpff/catdown-hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"));

About

Stores Catdown editor content in the URL hash for basic persistance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published