[docs] use new named export for marked 4 in examples (#6893)

pull/7738/head
Conduitry 5 years ago committed by GitHub
parent c487182ad4
commit 6c2041bd38

@ -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