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

pull/6897/head
Conduitry 3 years ago committed by GitHub
parent 530b6ae57d
commit cbbf002a8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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