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

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

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

Loading…
Cancel
Save