on git build release mode add some todos
Some checks failed
Build Typst document / build_typst_documents (push) Failing after 10s

This commit is contained in:
2024-12-20 11:52:51 +01:00
parent 1b41fff04b
commit 53d11ae459
5 changed files with 33 additions and 13 deletions

View File

@ -1,11 +1,15 @@
#let inwriting = false
#let draft = false
#import "@preview/drafting:0.2.1": margin-note
#let inp = sys.inputs
#let inwriting = inp.at("inwriting", default: "true") == "true"
#let draft = inp.at("draft", default: "true") == "true"
#assert(not(inwriting and not(draft)), message: "If inwriting is true, draft should be true as well.")
#let todo(it) = [
#if inwriting [
#text(size: 0.8em)[#emoji.pencil] #text(it, fill: red, weight: 600)
#margin-note(it)
]
]