From 835a92c7b4e79209e49728678e75ff2772de912b Mon Sep 17 00:00:00 2001 From: _Kerman Date: Wed, 4 Dec 2024 11:19:19 +0800 Subject: [PATCH 1/2] docs: add `slidev-addon-python-runner` to the list of addons --- docs/.vitepress/addons.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/.vitepress/addons.ts b/docs/.vitepress/addons.ts index 0c910bafb0..7864ae8d11 100644 --- a/docs/.vitepress/addons.ts +++ b/docs/.vitepress/addons.ts @@ -15,6 +15,17 @@ export const official: AddonInfo[] = [ ] export const community: AddonInfo[] = [ + { + id: 'slidev-addon-python-runner', + name: 'Python Runner', + description: 'Run actual Python code in your slides', + tags: ['Code runner'], + author: { + name: '_Kerman', + link: 'https://github.com/KermanX', + }, + repo: 'https://github.com/KermanX/slidev-addon-python-runner', + }, { id: 'slidev-addon-tldraw', name: 'tldraw for Slidev', From effb2c8b2a1e7b62bee44182c135995015287714 Mon Sep 17 00:00:00 2001 From: _Kerman Date: Wed, 4 Dec 2024 14:19:09 +0800 Subject: [PATCH 2/2] fix --- docs/.vitepress/theme/components/AddonInfo.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/theme/components/AddonInfo.vue b/docs/.vitepress/theme/components/AddonInfo.vue index 249148c424..17c11071d2 100644 --- a/docs/.vitepress/theme/components/AddonInfo.vue +++ b/docs/.vitepress/theme/components/AddonInfo.vue @@ -7,7 +7,7 @@ defineProps<{