Render headlines expanded by default.
This commit is contained in:
parent
cf7cc38bd8
commit
b610d356e8
@ -390,9 +390,10 @@ def render(headline, doc, headlineLevel):
|
|||||||
else:
|
else:
|
||||||
todo_state = "done"
|
todo_state = "done"
|
||||||
|
|
||||||
display_state = 'collapsed'
|
# display_state = 'collapsed'
|
||||||
if headlineLevel < MIN_HIDDEN_HEADLINE_LEVEL:
|
# if headlineLevel < MIN_HIDDEN_HEADLINE_LEVEL:
|
||||||
display_state = 'expanded'
|
# display_state = 'expanded'
|
||||||
|
display_state = 'expanded'
|
||||||
|
|
||||||
return f"""
|
return f"""
|
||||||
<div id="{html.escape(headline.id)}" class="node {todo_state} {display_state}">
|
<div id="{html.escape(headline.id)}" class="node {todo_state} {display_state}">
|
||||||
|
Loading…
Reference in New Issue
Block a user