diff --git a/scripts/generate.py b/scripts/generate.py index 05e5951..e8f1f1b 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -205,6 +205,13 @@ def render_code_block(element, acc): acc.append(html.escape(element.lines)) acc.append('') +def render_results_block(element, acc): + # TODO: + # acc.append('
')
+    # render_tree(element.children, acc)
+    # acc.append('
') + pass + def render_text(element, acc): acc.append('') @@ -240,6 +247,7 @@ def render_tag(element, acc): dom.ListItem: render_list_item, dom.CodeBlock: render_code_block, dom.Text: render_text, + dom.ResultsDrawerNode: render_results_block, }[type(element)](element, acc)