From b610d356e8fb42f152cd992105c4fed11ba1b94f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Sun, 28 Aug 2022 14:10:08 +0200 Subject: [PATCH] Render headlines expanded by default. --- scripts/generate.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/generate.py b/scripts/generate.py index 280957e..dffb8a5 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -390,9 +390,10 @@ def render(headline, doc, headlineLevel): else: todo_state = "done" - display_state = 'collapsed' - if headlineLevel < MIN_HIDDEN_HEADLINE_LEVEL: - display_state = 'expanded' + # display_state = 'collapsed' + # if headlineLevel < MIN_HIDDEN_HEADLINE_LEVEL: + # display_state = 'expanded' + display_state = 'expanded' return f"""