Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Latest commit

 

History

History

markdown-editor

MarkdownEditor

Use

Fork and setup for your use.

Build

$ yarn install
$ yarn run build

Take it.

<script src='/dist/bundle.js'></script>
<script>
window.onload = function(){
  window.createMyEditor(document.body, {});
}
</script>

Develop

$ gulp watch

See demo/index.html

Load by webpack

Need this setting.

  module: {
    loaders: [
      { test: /\.coffee$/, loader: "coffee" },
      { test: /\.css$/   , loader: "style!css?root=." }
    ]
  },

I recommend bundled file via script.