-
1.1.5.3这种纯数字序号能否改成国内论文适用的一、(一)(1)等标准代码,方便国内论文使用 |
Beta Was this translation helpful? Give feedback.
Answered by
Keldos-Li
Sep 14, 2024
Replies: 1 comment
-
CSS中约154~185行处改为: /* 侧边大纲标题 */
.sidebar-content .outline-h1 {
counter-reset: outline-h2;
}
.sidebar-content .outline-h2 {
counter-reset: outline-h3;
}
.sidebar-content .outline-h2 .outline-label:before {
counter-increment: outline-h2;
content: counter(outline-h2, cjk-decimal) "、";
}
.sidebar-content .outline-h3 {
counter-reset: outline-h4;
}
.sidebar-content .outline-h3 .outline-label:before {
counter-increment: outline-h3;
content: "(" counter(outline-h3, cjk-decimal) ")";
}
.sidebar-content .outline-h4 {
counter-reset: outline-h5;
}
.sidebar-content .outline-h4 .outline-label:before {
counter-increment: outline-h4;
content: counter(outline-h4) ". ";
}
.sidebar-content .outline-h5 {
counter-reset: outline-h6;
}
.sidebar-content .outline-h5 .outline-label:before {
counter-increment: outline-h5;
content: "(" counter(outline-h5) ")"
}
.sidebar-content .outline-h6 .outline-label:before {
counter-increment: outline-h6;
content: counter(outline-h6) ")"
} 约284~312行处改为: #write h2:before, h2.md-focus.md-heading:before {
counter-increment: h2;
/* use Chinese counter 一、二、三、 */
content: counter(h2, cjk-decimal) "、";
margin-right: 0;
}
#write h3:before, h3.md-focus.md-heading:before {
counter-increment: h3;
/* use Chinese counter (一)(二)(三) */
content: "(" counter(h3, cjk-decimal) ")";
margin-right: 0;
}
#write h4:before, h4.md-focus.md-heading:before {
counter-increment: h4;
/* use 1. 2. 3. */
content: counter(h4) ". ";
margin-right: 0;
}
#write h5:before, h5.md-focus.md-heading:before {
counter-increment: h5;
/* use (1)(2)(3) */
content: "(" counter(h5) ")";
margin-right: 0;
}
#write h6:before, h6.md-focus.md-heading:before {
counter-increment: h6;
/* use 1)2)3) */
content: counter(h6) ")";
margin-right: 0;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Keldos-Li
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CSS中约154~185行处改为: