Skip to content

Commit

Permalink
Dev/chinese italic (#11)
Browse files Browse the repository at this point in the history
* 目标:中文斜体改楷体

* Update chinese-italic.ts

* Update index.ts

* Update chinese-italic.ts

* 将插件css文件转到static目录下以实现标准化

* Update test.md
  • Loading branch information
ArenaDruid authored Feb 5, 2025
1 parent 924d1f9 commit ca3ab2b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion content/test.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
comments: false
date: 2025-02-04
publish: false
---

Expand Down
2 changes: 1 addition & 1 deletion quartz/plugins/transformers/chinese-italic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const ChineseItalic: QuartzTransformerPlugin<Options> = (opts) => {
name: "ChineseItalic",
externalResources() {
return {
css: [{ content: "attachments/chinese-italic-kaiti.css" }],
css: [{ content: "static/chinese-italic-kaiti.css" }],
}
},
}
Expand Down
File renamed without changes.

0 comments on commit ca3ab2b

Please sign in to comment.