markdown-magic-editor

1.0.1 • Public • Published

Markdown Magic Editor

A lightweight Markdown editor with live preview, built using CodeMirror, marked, highlight.js, sanitize-html, and lodash.debounce.

Features

  • Real-time Markdown editing and preview.
  • Syntax highlighting for code blocks.
  • Sanitized HTML output for security.
  • Debounced preview updates for improved performance.

Usage

Include the editor in your project by embedding the index.html in your web application. Ensure all dependencies are installed via npm.

<div id="editor"></div>
<div id="preview"></div>

License

ISC

Readme

Keywords

none

Package Sidebar

Install

npm i markdown-magic-editor

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

2.25 kB

Total Files

3

Last publish

Collaborators

  • tradespower