1.0.2 • Published 1 year ago
minimal-markdown-editor-widget v1.0.2
minimal-markdown-editor-widget
A minimal Markdown editor widget with live preview, formatting toolbar, and save/load functionality.
Installation
To install the library, run:
npm install minimal-markdown-editor-widget
Usage
Include the necessary HTML structure in your webpage:
<textarea id="editor"></textarea>
<div id="preview"></div>
Then, include the following JavaScript code in your project:
// JavaScript code provided above
Features
- Live Markdown preview.
- Toolbar buttons for formatting options (bold, italic, underline).
- Save and load functionality to store and retrieve Markdown content.
License
This library is licensed under the MIT License.