SuperMemo 折腾(2)—— 将 Concept 当作 Tag
date
May 27, 2022
slug
supermemo-concept-group-html-tag
status
Published
tags
SuperMemo
summary
将概念组以 Tag 的形式展示。
type
Post
效果
- 概念组以 Tag 的形式展示;
- 充分利用 Concept 的继承关系,不用单独为每张卡片加 Tag。

原理
将 Concept 的名字设为 HTML 代码串,SuperMemo 会将其以 HTML 的形式渲染出来:

然后再在 CSS 文件里编写样式就可以了。
我的标签样式代码:
supermemoreference t {
position: absolute;
top: 8px;
right: 36px;
font-size: 1.3rem;
color: gray;
font-weight: normal;
font-style: italic;
text-decoration: underline ;
}
/* 在名称前面加上字符“#” */
supermemoreference t:before {
content: '#';
}