Anki 卡片格式 语法 1,改变字体字形:<div
class=zhailu>{{摘录}}</div><br> <div
class=biji>{{笔记}}</div> <div
class=zuozhe>{{作者}}</div> <div
class=shuming>{{书名}}</div> <div
class=laiyuan>{{来源}}</div> .zhailu { font-family: 微软雅黑; font-size: 14px; text-align: center; color: black; } .biji { font-family: 微软雅黑; font-size: 14px; text-align: center; color: black; } .zuozhe { font-family: 微软雅黑; font-size: 10px; text-align: right; color: black; } .shuming { font-family: 微软雅黑; font-size: 10px; text-align: right; color: black; } .laiyuan { font-family: 微软雅黑; font-size: 10px; text-align: center; color: black; } ---------------------------------------- 2,控制显示与否{{#FieldName}} This text is only shown if FieldName has text in it {{/FieldName}} {{^FieldName}} This text is only shown if FieldName is empty {{/FieldName}} --------------------------------------- 3, 拼写框在填空题里用拼写框: 在正反面都写 {{type: cloze:Text}} 才会显示答案 |
|