0.2.0 • Published 1 month ago

chunmde v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

chunchunmaru-mde

npm.io npm NPM Version

Markdown editor based on codemirror6

Demo page

Features

  • Key bindings
  • Toolbars
  • Commands:
    • heading
    • italic <Ctrl+i>
    • bold <Ctrl+b>
    • quote <Ctrl+Shift+e>
    • code <Ctrl+e>
    • link <Ctrl+k>
    • Unordered list <Ctrl+Shift+8>

Usage

Browser

<!doctype html>
<html>
<head>
  <meta charset="utf-8"/>
  <title>Markdown editor in the browser</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/chunmde@x.y.z/dist/chunmde.min.css">
</head>
<body>
  <div id="editor-container"></div>
  <script src="https://cdn.jsdelivr.net/npm/chunmde@x.y.z/dist/chunmde.bundle.min.js"></script>
  <script>
    const editor = new ChunMDE('editor-container')
    const value = editor.getValue()
    console.log(value)
  </script>
</body>
</html>

Contribute

  • Fork the repository!
  • Clone your fork: git clone https://github.com/your-username/chunchunmaru-mde.git
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request :>
0.2.0

1 month ago

0.0.10

1 month ago

0.1.0

1 month ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago