添加rehype-mathjax对公式和流程的支持
This commit is contained in:
@@ -49,6 +49,6 @@ const primaryHex = computed(() => {
|
||||
|
||||
const h2Style = computed(() => ({
|
||||
backgroundColor: primaryHex.value,
|
||||
borderRadius: 'var(--ui-card-radius)',
|
||||
borderRadius: 'var(--ui-card-radius)'
|
||||
}))
|
||||
</script>
|
||||
|
@@ -25,5 +25,4 @@ const themeSizeClass = computed(() => {
|
||||
? 'text-xl lg:text-1xl'
|
||||
: 'text-1xl lg:text-2xl'
|
||||
})
|
||||
|
||||
</script>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<h5
|
||||
:id
|
||||
:class="['scroll-m-20 font-bold text-primary tracking-tight [&:not(:first-child)]:mt-6',themeSizeClass]"
|
||||
:class="['scroll-m-20 font-bold text-primary tracking-tight [&:not(:first-child)]:mt-6', themeSizeClass]"
|
||||
>
|
||||
<NuxtLink
|
||||
v-if="id && generate"
|
||||
@@ -25,5 +25,4 @@ const themeSizeClass = computed(() => {
|
||||
? 'text-lg lg:text-xl'
|
||||
: 'text-xl lg:text-1xl'
|
||||
})
|
||||
|
||||
</script>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<h5
|
||||
:id
|
||||
:class="['scroll-m-20 font-normal text-primary tracking-tight [&:not(:first-child)]:mt-6',themeSizeClass]"
|
||||
:class="['scroll-m-20 font-normal text-primary tracking-tight [&:not(:first-child)]:mt-6', themeSizeClass]"
|
||||
>
|
||||
<NuxtLink
|
||||
v-if="id && generate"
|
||||
@@ -25,5 +25,4 @@ const themeSizeClass = computed(() => {
|
||||
? 'text-lg lg:text-xl'
|
||||
: 'text-xl lg:text-1xl'
|
||||
})
|
||||
|
||||
</script>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<strong class="text-primary">
|
||||
<slot />
|
||||
</strong>
|
||||
</template>
|
||||
<strong class="text-primary">
|
||||
<slot />
|
||||
</strong>
|
||||
</template>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<table>
|
||||
<slot />
|
||||
</table>
|
||||
</template>
|
||||
<table>
|
||||
<slot />
|
||||
</table>
|
||||
</template>
|
||||
|
||||
<!-- <style scoped>
|
||||
/* 强化表头背景,仅此组件内生效 */
|
||||
@@ -12,4 +12,4 @@ table :deep(thead th) {
|
||||
.dark table :deep(thead th) {
|
||||
background-color: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
</style> -->
|
||||
</style> -->
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<th class=" bg-gray-100 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 py-2">
|
||||
<slot />
|
||||
</th>
|
||||
</template>
|
||||
<th class=" bg-gray-100 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 py-2">
|
||||
<slot />
|
||||
</th>
|
||||
</template>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<thead>
|
||||
<slot />
|
||||
</thead>
|
||||
</template>
|
||||
<thead>
|
||||
<slot />
|
||||
</thead>
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user