diff --git a/docs/src/components/Demo/index.vue b/docs/src/components/Demo/index.vue index 56c36297..71cd96b7 100644 --- a/docs/src/components/Demo/index.vue +++ b/docs/src/components/Demo/index.vue @@ -111,6 +111,7 @@ export default { mounted() { this.files = collect(require.context('~/demos/', true, /.+\..+$/).keys()) .filter(path => path.startsWith(`./${this.name}/`)) + .filter(path => !path.endsWith('.spec.js') && !path.endsWith('.spec.ts')) .map(path => path.replace('./', '')) .map(path => { const extension = path.split('.').pop() diff --git a/docs/src/demos/Marks/Highlight/index.vue b/docs/src/demos/Marks/Highlight/index.vue index aa45ff17..70eefe82 100644 --- a/docs/src/demos/Marks/Highlight/index.vue +++ b/docs/src/demos/Marks/Highlight/index.vue @@ -67,11 +67,11 @@ export default { Highlight, ], content: ` -
This isn’t highlighted.
-But that one is.
-And this is highlighted too, but in a different color.
-And this one has a data attribute.
- `, +This isn’t highlighted.
+But that one is.
+And this is highlighted too, but in a different color.
+And this one has a data attribute.
+ `, }) }, diff --git a/docs/src/docPages/api/editor.md b/docs/src/docPages/api/editor.md index 370e965b..e47e0238 100644 --- a/docs/src/docPages/api/editor.md +++ b/docs/src/docPages/api/editor.md @@ -47,7 +47,7 @@ new Editor({ extensions: [ ...defaultExtensions(), Highlight, - ] + ], }) ```