summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-11-22 18:15:53 +0100
committertpart <tpart120@proton.me>2024-11-22 18:16:00 +0100
commit39aba8a56665540df6a4ab54bc6487ef844c292c (patch)
tree68d38d8c5beb0a377ae69de0892e2f01b8497acf
parent1e4cee8c2ebfc1bd6aa7df140e05378b9ec7ede0 (diff)
downloadhurrycurry-39aba8a56665540df6a4ab54bc6487ef844c292c.tar
hurrycurry-39aba8a56665540df6a4ab54bc6487ef844c292c.tar.bz2
hurrycurry-39aba8a56665540df6a4ab54bc6487ef844c292c.tar.zst
Ignore conditionals
-rw-r--r--client/menu/document/document.gd8
1 files changed, 6 insertions, 2 deletions
diff --git a/client/menu/document/document.gd b/client/menu/document/document.gd
index 5c620213..6c4b0685 100644
--- a/client/menu/document/document.gd
+++ b/client/menu/document/document.gd
@@ -76,8 +76,12 @@ func build_document(element: Dictionary, bullet: bool = false) -> Control:
node.name = "Paragraph"
for e in element["es"]:
node.add_child(build_document(e, bullet))
- #"ref":
- # TODO, implement later
+ "ref":
+ # TODO, implement later
+ node = Control.new()
+ "conditional":
+ # Ignore all conditionals for now, since they are only revelant for typst version
+ node = Control.new()
"text":
node = text_node(element, bullet)
_: