mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
Update chinese-italic.ts
This commit is contained in:
parent
a11891b8ee
commit
031a3302ee
@ -7,7 +7,8 @@ export const ChineseItalic: QuartzTransformerPlugin = () => {
|
|||||||
return {
|
return {
|
||||||
css: [
|
css: [
|
||||||
{
|
{
|
||||||
// 内联 CSS 直接注入到页面
|
// 关键修复:明确声明为内联样式
|
||||||
|
contentType: "inline",
|
||||||
content: `
|
content: `
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'ChineseItalic';
|
font-family: 'ChineseItalic';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user