diff --git a/.markdownlint.json b/.markdownlint.json index 2348c33..c9c0e81 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -10,6 +10,7 @@ "img", "sup", "em", + "mark", "Badge", "script", "IconDisplay", diff --git a/docs/.vuepress/theme.ts b/docs/.vuepress/theme.ts index 6d4b4f4..7b97700 100644 --- a/docs/.vuepress/theme.ts +++ b/docs/.vuepress/theme.ts @@ -210,6 +210,10 @@ export const themeOptions: ThemeOptions = { }, transformers: [transformerTwoslash()], }, + + copyCode: { + ignoreSelector: ['.vp-copy-ignore'], + }, }, } diff --git a/docs/.vuepress/theme/components/hanzi/Hanzi.vue b/docs/.vuepress/theme/components/hanzi/Hanzi.vue index aef7770..2b997d3 100644 --- a/docs/.vuepress/theme/components/hanzi/Hanzi.vue +++ b/docs/.vuepress/theme/components/hanzi/Hanzi.vue @@ -207,7 +207,7 @@ function handleRead() {
-
+
diff --git a/docs/.vuepress/theme/components/hanzi/Hanzi2.vue b/docs/.vuepress/theme/components/hanzi/Hanzi2.vue index d4551a6..cd1fce4 100644 --- a/docs/.vuepress/theme/components/hanzi/Hanzi2.vue +++ b/docs/.vuepress/theme/components/hanzi/Hanzi2.vue @@ -200,7 +200,7 @@ function handleRead() { :height="32" />
-
+