mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 03:32:51 +02:00
✨ feat: add KaTeX support and update theme configuration
- Update @astrojs/mdx and astro dependencies - Enable KaTeX in theme config for mathematical formula rendering - Update scrollbar component to hide overflow content - Add KaTeX mathematical demonstration document - Update multilingual theme guides to include KaTeX configuration
This commit is contained in:
parent
3da7a083c8
commit
ee25e17f69
13 changed files with 264 additions and 83 deletions
|
@ -56,7 +56,7 @@ color: {
|
|||
// ダークモード
|
||||
dark: {
|
||||
// プライマリカラー
|
||||
// タイトル、ホバーなどに使用
|
||||
// サイトタイトル、ホバー効果などに使用
|
||||
primary: 'oklch(92% 0.005 298)'
|
||||
// セカンダリカラー
|
||||
// 通常テキストに使用
|
||||
|
@ -84,6 +84,8 @@ global: {
|
|||
dateFormat: 'YYYY-MM-DD' // YYYY-MM-DD, MM-DD-YYYY, DD-MM-YYYY, MONTH DAY YYYY, DAY MONTH YYYY
|
||||
// タイトルとサブタイトルの間隔
|
||||
titleGap: 2 // 1, 2, 3
|
||||
// 数式表示のためのKaTeXを有効化
|
||||
katex: true // true, false
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue