markdown-editor
markdown-editor copied to clipboard
Web component for markdown editor (ghost inspired)
Markdown Editor webcomponent
Experiment project with polymer Markdown editor with preview (inspired by ghost blog platform)
Instalation
With bower
bower install markdown-editor
Usage
In your head include component and platform.js
<head>
<script src="bower_components/platform/platform.js"></script>
<link rel="import" href="bower_components/markdown-editor/markdown-editor.html" />
</head>
Then use components
<markdown-editor id="editor">
# Title
`var editorValue = document.getElementById('editor').value;`
</markdown-editor>