mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-31 00:34:05 -06:00
* 目标:中文斜体改楷体 * Update chinese-italic.ts * Update index.ts * Update chinese-italic.ts * 将插件css文件转到static目录下以实现标准化 * Update test.md
16 lines
360 B
TypeScript
16 lines
360 B
TypeScript
import { QuartzTransformerPlugin } from "../types"
|
|
|
|
interface Options {
|
|
// 可扩展选项(如自定义字体名)
|
|
}
|
|
|
|
export const ChineseItalic: QuartzTransformerPlugin<Options> = (opts) => {
|
|
return {
|
|
name: "ChineseItalic",
|
|
externalResources() {
|
|
return {
|
|
css: [{ content: "static/chinese-italic-kaiti.css" }],
|
|
}
|
|
},
|
|
}
|
|
} |