1.0.2 • Published 5 years ago

smartmd v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Smartmd

npm.io

Screenshots

editor demo: Demo
js render page Demo
php render page Demo

npm.io


npm.io


npm.io

Get smartmd

npm install smartmd 
<head>
<link rel="stylesheet" href="dist/smartmd.min.css">
<script src="dist/smartmd.min.js"></script>
</head>

Quickstart

var editor = new Smartmd({
   el: "#editor",
   height: "400px"
});

Build Setup

# install reference
npm install smartmd 

# build for development
npm run dev

# build for production
npm run build

Features

  • Markdown syntax parse by Markdown-It and it's plugins
  • LaTeX mathematical expressions using KaTeX
  • Diagrams and flowcharts using Mermaid
  • Live preview
  • Emoji
  • Images upload (need server)

Issue

welcome repo bug reports, feature requests or optimization method.

Reference:

  • CodeMirror link
  • Simplemde-markdown link
  • markdown-it (markdown render) link
  • mermaid (flowchart) link