stackedit.js
Add StackEdit to any website
Build setup
# install dependenciesnpm install# watch and build for devnpm run dev# build for productionnpm run build
Quick start
Bind StackEdit to a textarea
:
// Import the lib.; // Get the textarea.const el = document; // Create the Stackedit object.const stackedit = ; // Open the iframestackedit; // Listen to StackEdit events and apply the changes to the textarea.stackedit;
Documentation
Full documentation can be found at https://benweet.github.io/stackedit.js/.