Compare commits
2 Commits
explore/ic
...
develop
Author | SHA1 | Date | |
---|---|---|---|
7fa826d7b3 | |||
80c5dc793b |
@ -493,11 +493,11 @@ def render_block(content, acc, _class, is_code):
|
|||||||
acc.append('</pre>')
|
acc.append('</pre>')
|
||||||
|
|
||||||
def unindent(content):
|
def unindent(content):
|
||||||
base_indentation = min([0] + [
|
base_indentation = min([
|
||||||
len(l) - len(l.lstrip(' '))
|
len(l) - len(l.lstrip(' '))
|
||||||
for l in content.split('\n')
|
for l in content.split('\n')
|
||||||
if len(l.strip()) > 0
|
if len(l.strip()) > 0
|
||||||
])
|
] or [0])
|
||||||
content_lines = [
|
content_lines = [
|
||||||
l[base_indentation:]
|
l[base_indentation:]
|
||||||
for l in content.split('\n')
|
for l in content.split('\n')
|
||||||
|
@ -263,6 +263,11 @@ img {
|
|||||||
border-left: 2px solid var(--tree-color);
|
border-left: 2px solid var(--tree-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.node .contents ul ul ul li,
|
||||||
|
.global-table-of-contents ul ul ul li {
|
||||||
|
margin-left: calc(0px + var(--tree-radius) * 2 + .5ex);
|
||||||
|
}
|
||||||
|
|
||||||
.node .contents ul ul li::marker,
|
.node .contents ul ul li::marker,
|
||||||
.global-table-of-contents ul ul li::marker {
|
.global-table-of-contents ul ul li::marker {
|
||||||
content: '';
|
content: '';
|
||||||
|
Loading…
Reference in New Issue
Block a user