Fix HTML and CSS order.

pull/6213/head
Babak F 5 years ago
parent 86b6538789
commit 15c9dbd118

@ -3,10 +3,13 @@
let value = `Some words are *italic*, some are **bold**`;
</script>
<style>
textarea { width: 100%; height: 200px; }
</style>
<textarea value={value}></textarea>
{@html marked(value)}
<style>
textarea {
width: 100%;
height: 200px;
}
</style>

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