diff --git a/README.tlm b/README.tlm index 0f4c43d..f36e60c 100644 --- a/README.tlm +++ b/README.tlm @@ -58,3 +58,20 @@ Here is some __underlined__ text [&1] Ordered list item 2 not included [&named] This is the definition for a named footnote + +!! Variable demo + +$(counter=0) +$(link=https://git.krzak.org/N0VA/TypoML) + +`tlm.counter` = $(counter) + +#($(link))[Repo link] + +$[script] + let count = 0; + setInterval(() => { + count++; + tlm.counter = count; + }, 1000); +$[/script]