diff --git a/lib/todos.typ b/lib/todos.typ index f5042bf..0b8e58f 100644 --- a/lib/todos.typ +++ b/lib/todos.typ @@ -18,6 +18,17 @@ #let note(body, dy: auto, ..kwargs) = context { if show-notes.get() { margin-note(body, dy: dy, ..kwargs) + } else { + // If this is a line about smth, keep showing the inline part + let phrase = none + if kwargs.pos().len() > 0 { + // margin note: kwargs.pos().at(0) + // inline note: body + phrase = body + } + if phrase != none { + phrase + } } }