forked from EduCraft/curriculum-project-hub
fix(cph): correct nested outline hierarchy
This commit is contained in:
@@ -248,17 +248,8 @@
|
||||
/// note rendered as a visually distinct teaching-tip box.
|
||||
#let _render-outline-node(node, level) = {
|
||||
let title = node.at("title", default: "")
|
||||
let kind = node.at("kind", default: "")
|
||||
heading(level: level)[#title]
|
||||
|
||||
if kind != "" {
|
||||
block(
|
||||
inset: (x: 0.35em, y: 0.1em),
|
||||
fill: gray.lighten(80%),
|
||||
radius: 0.2em,
|
||||
text(size: 9pt, fill: gray.darken(30%))[#kind],
|
||||
)
|
||||
}
|
||||
|
||||
let notes = node.at("notes", default: none)
|
||||
if notes != none and notes != "" {
|
||||
|
||||
Reference in New Issue
Block a user