From 5c6ea544a067ebfd1125bc107a06b9efa49ee8ad Mon Sep 17 00:00:00 2001 From: Johann Schopplich Date: Sat, 29 Nov 2025 22:27:03 +0100 Subject: [PATCH] docs(playground): move copy button to code block --- .../theme/components/PlaygroundLayout.vue | 66 ++++++++++++++++--- 1 file changed, 56 insertions(+), 10 deletions(-) diff --git a/docs/.vitepress/theme/components/PlaygroundLayout.vue b/docs/.vitepress/theme/components/PlaygroundLayout.vue index e33add0..e03eb12 100644 --- a/docs/.vitepress/theme/components/PlaygroundLayout.vue +++ b/docs/.vitepress/theme/components/PlaygroundLayout.vue @@ -237,15 +237,16 @@ async function loadTokenizer() { {{ toonTokens ?? '...' }} tokens {{ toonOutput.length }} chars + +
-
{{ toonOutput }}