[docs] use new named import for marked 4 in examples

pull/6893/head
Conduitry 5 years ago
parent 530b6ae57d
commit e1a7474378

@ -1,5 +1,5 @@
<script>
import marked from 'marked';
import { marked } from 'marked';
let text = `Some words are *italic*, some are **bold**`;
</script>
@ -9,4 +9,4 @@
<style>
textarea { width: 100%; height: 200px; }
</style>
</style>

@ -1,5 +1,5 @@
<script>
import marked from 'marked';
import { marked } from 'marked';
let value = `Some words are *italic*, some are **bold**`;
</script>

@ -1,5 +1,5 @@
<script>
import marked from 'marked';
import { marked } from 'marked';
let value = `Some words are *italic*, some are **bold**`;
</script>

Loading…
Cancel
Save