markdown-toolbar sandbox


Source:

<link rel="stylesheet" href="dist/markdown-toolbar.css" type="text/css" />

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/commonmark/0.28.1/commonmark.min.js"></script>
<script src="dist/markdown-toolbar.js"></script>

<textarea class="toolbar" rows="6"></textarea>

<script>
$(document).ready(function() {
    $('.toolbar').markdownToolbar();
});
</script>