From 9384f5399da39e53855beb8e7f8ded1aa56bf72e Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Tue, 27 Dec 2022 14:36:33 +0900
Subject: rename: client -> frontend

---
 packages/client/src/components/MkCode.core.vue | 20 --------------------
 1 file changed, 20 deletions(-)
 delete mode 100644 packages/client/src/components/MkCode.core.vue

(limited to 'packages/client/src/components/MkCode.core.vue')

diff --git a/packages/client/src/components/MkCode.core.vue b/packages/client/src/components/MkCode.core.vue
deleted file mode 100644
index b074028821..0000000000
--- a/packages/client/src/components/MkCode.core.vue
+++ /dev/null
@@ -1,20 +0,0 @@
-<!-- eslint-disable vue/no-v-html -->
-<template>
-<code v-if="inline" :class="`language-${prismLang}`" v-html="html"></code>
-<pre v-else :class="`language-${prismLang}`"><code :class="`language-${prismLang}`" v-html="html"></code></pre>
-</template>
-
-<script lang="ts" setup>
-import { computed } from 'vue';
-import Prism from 'prismjs';
-import 'prismjs/themes/prism-okaidia.css';
-
-const props = defineProps<{
-	code: string;
-	lang?: string;
-	inline?: boolean;
-}>();
-
-const prismLang = computed(() => Prism.languages[props.lang] ? props.lang : 'js');
-const html = computed(() => Prism.highlight(props.code, Prism.languages[prismLang.value], prismLang.value));
-</script>
-- 
cgit v1.2.3-freya

