Don't use shorthand binding in textarea example (#3256)

pull/3276/head
craigglennie 6 years ago committed by Conduitry
parent b6e875ba03
commit 0a3818fb9b

@ -1,12 +1,12 @@
<script> <script>
import marked from 'marked'; import marked from 'marked';
let value = `Some words are *italic*, some are **bold**`; let text = `Some words are *italic*, some are **bold**`;
</script> </script>
<style> <style>
textarea { width: 100%; height: 200px; } textarea { width: 100%; height: 200px; }
</style> </style>
<textarea bind:value></textarea> <textarea bind:value={text}></textarea>
{@html marked(value)} {@html marked(text)}
Loading…
Cancel
Save