mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00
refactor: a part of heti css style
This commit is contained in:
parent
0f63770b69
commit
608bb0045f
13 changed files with 136 additions and 99 deletions
|
@ -7,6 +7,7 @@ import { defineConfig } from 'astro/config'
|
|||
import rehypeExternalLinks from 'rehype-external-links'
|
||||
import rehypeKatex from 'rehype-katex'
|
||||
import remarkMath from 'remark-math'
|
||||
import remarkSectionize from 'remark-sectionize'
|
||||
import UnoCSS from 'unocss/astro'
|
||||
import { themeConfig } from './src/config'
|
||||
import { langMap } from './src/i18n/config'
|
||||
|
@ -53,6 +54,7 @@ export default defineConfig({
|
|||
markdown: {
|
||||
remarkPlugins: [
|
||||
remarkMath,
|
||||
remarkSectionize,
|
||||
remarkReadingTime,
|
||||
],
|
||||
rehypePlugins: [
|
||||
|
@ -66,8 +68,8 @@ export default defineConfig({
|
|||
},
|
||||
],
|
||||
],
|
||||
// available themes: https://shiki.style/themes
|
||||
shikiConfig: {
|
||||
// available themes: https://shiki.style/themes
|
||||
themes: {
|
||||
light: 'one-light',
|
||||
dark: 'one-dark-pro',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue