From 3a71e8f164a5b81c7a1abd71f399d906ae1583ff Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Mon, 6 Nov 2023 00:50:18 +0530 Subject: [PATCH] Show Copied text on copy --- .vitepress/markdown.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.vitepress/markdown.ts b/.vitepress/markdown.ts index f5c35be39..5bbc57c9a 100644 --- a/.vitepress/markdown.ts +++ b/.vitepress/markdown.ts @@ -17,10 +17,9 @@ export function copyableCodePlugin(md: MarkdownRenderer) { } const token = tokens[idx]; const content = token.content; - const buttonHTML = ``; - return buttonHTML; + return ``; }; }