我希望在我的marp幻灯片中包含以下CSS类(我在vscode中使用vscode扩展):
.theorem {
display: block;
font-style: italic;
}
.theorem:before {
content: "Theorem. ";
font-weight: bold;
font-style: normal;
}
.theorem[text]:before {
content: "Theorem (" attr(text) ") ";
}发布于 2022-10-12 07:45:30
style: |
.theorem {
display: block;
font-style: italic;
}
.theorem:before {
content: "Theorem. ";
font-weight: bold;
font-style: normal;
}
.theorem[text]:before {
content: "Theorem (" attr(text) ") ";
}
paginate: true在文件中,必须在块项https://michelf.ca/projects/php-markdown/extra/#spe-attr上添加类。
https://stackoverflow.com/questions/70250929
复制相似问题