Commit d348f47f authored by sendler's avatar sendler 🐢
Browse files

add transformation and styling for tei:list

parent c434972e
......@@ -566,6 +566,18 @@ return
attribute class {"horizontalRule"}
}
case element ( tei:list ) return
element div {
attribute class {"list"},
local:magic($node/node())
}
case element ( tei:item ) return
element span {
attribute class {"tei-item"},
local:magic($node/node())
}
default return
local:magic($node/node())}
......
......@@ -100,4 +100,10 @@ caption {
top: -0.5rem;
position: relative;
width: 20%;
}
.tei-item {
display: list-item;
list-style: none;
margin-left: 1rem;
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment