diff --git a/plugins/plugin-md-power/__test__/__snapshots__/codepenPlugin.spec.ts.snap b/plugins/plugin-md-power/__test__/__snapshots__/codepenPlugin.spec.ts.snap index a8832100..53944bba 100644 --- a/plugins/plugin-md-power/__test__/__snapshots__/codepenPlugin.spec.ts.snap +++ b/plugins/plugin-md-power/__test__/__snapshots__/codepenPlugin.spec.ts.snap @@ -1,9 +1,9 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`codepenPlugin > should not work 1`] = ` -"

@[codepen]xxx

+"

@[codepen]xxx

@[codepen preview](

" `; -exports[`codepenPlugin > should work 1`] = `""`; +exports[`codepenPlugin > should work 1`] = `""`; diff --git a/plugins/plugin-md-power/__test__/__snapshots__/jsfiddlePlugin.spec.ts.snap b/plugins/plugin-md-power/__test__/__snapshots__/jsfiddlePlugin.spec.ts.snap index 528bb0a7..e527ceb9 100644 --- a/plugins/plugin-md-power/__test__/__snapshots__/jsfiddlePlugin.spec.ts.snap +++ b/plugins/plugin-md-power/__test__/__snapshots__/jsfiddlePlugin.spec.ts.snap @@ -1,9 +1,9 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`codeSandboxPlugin > should not work 1`] = ` -"

@[jsfiddle]xxx

+"

@[jsfiddle]xxx

@[jsfiddle](

" `; -exports[`codeSandboxPlugin > should work 1`] = `""`; +exports[`codeSandboxPlugin > should work 1`] = `""`; diff --git a/plugins/plugin-md-power/src/client/components/Annotation.vue b/plugins/plugin-md-power/src/client/components/Annotation.vue index ab31402f..42ecd476 100644 --- a/plugins/plugin-md-power/src/client/components/Annotation.vue +++ b/plugins/plugin-md-power/src/client/components/Annotation.vue @@ -82,6 +82,12 @@ useEventListener('scroll', updatePosition, { passive: true }) transform: rotate(0deg); } +@media print { + .vpi-annotation { + display: none; + } +} + .vp-annotation.active { z-index: 10; } diff --git a/plugins/plugin-md-power/src/client/components/CanIUse.vue b/plugins/plugin-md-power/src/client/components/CanIUse.vue index 9449e12d..870541f3 100644 --- a/plugins/plugin-md-power/src/client/components/CanIUse.vue +++ b/plugins/plugin-md-power/src/client/components/CanIUse.vue @@ -1,6 +1,7 @@ + +