Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 513 Bytes
<template>
<require from="./styles.css"></require>
<h1>Aurelia Markdown Redux</h1>
<div class="toolbar">
<button click.trigger="undo()">(${pastCount}) Undo</button>
<button click.trigger="redo()">Redo (${futureCount})</button>
</div>
<div class="markdown-editor cf">
<textarea class="editor"
keyup.trigger="keyupHandler($event.target.value) & debounce"
value.one-way="raw"></textarea>
<div class="preview" innerHTML.bind="html"></div>
</div>
</template>