diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..65a7d058 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +*.vue diff --git a/.vitepress/config.ts b/.vitepress/config.ts index bc6b2af2..13bc24f5 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -737,6 +737,7 @@ export default defineConfigWithTheme({ markdown: { theme: 'github-dark', config(md) { + // @ts-expect-error - broken type output in vitepress md.use(headerPlugin) // .use(textAdPlugin) } diff --git a/.vitepress/headerMdPlugin.ts b/.vitepress/headerMdPlugin.ts index d7e6c7ba..2a0db534 100644 --- a/.vitepress/headerMdPlugin.ts +++ b/.vitepress/headerMdPlugin.ts @@ -19,8 +19,6 @@ export interface AugmentedHeader extends Header { } export const headerPlugin = (md: MarkdownIt) => { - md.core.ruler.enable('text_join') - md.renderer.rules.heading_open = (tokens, i, options, env, self) => { for (const child of tokens[i + 1].children!) { if (child.type === 'text' && child.content.endsWith('*')) { diff --git a/.vitepress/theme/components/Home.vue b/.vitepress/theme/components/Home.vue index 2ab0b880..d1786f47 100644 --- a/.vitepress/theme/components/Home.vue +++ b/.vitepress/theme/components/Home.vue @@ -1,5 +1,5 @@ diff --git a/src/examples/ExampleRepl.vue b/src/examples/ExampleRepl.vue index fc56e992..4247fb4b 100644 --- a/src/examples/ExampleRepl.vue +++ b/src/examples/ExampleRepl.vue @@ -2,15 +2,7 @@ import { Repl, useStore, useVueImportMap } from '@vue/repl' import CodeMirror from '@vue/repl/codemirror-editor' import { data } from './examples.data' -import { - inject, - watchEffect, - version, - Ref, - onMounted, - ref, - onUnmounted -} from 'vue' +import { inject, watchEffect, Ref, onMounted, ref, onUnmounted } from 'vue' import { resolveSFCExample, resolveNoBuildExample, diff --git a/src/tutorial/TutorialRepl.vue b/src/tutorial/TutorialRepl.vue index 804dcd66..a8ccac73 100644 --- a/src/tutorial/TutorialRepl.vue +++ b/src/tutorial/TutorialRepl.vue @@ -1,7 +1,7 @@