From f3650e59b1a8f85d79ae86a97621f2d50016104e Mon Sep 17 00:00:00 2001 From: "N0\\A" Date: Tue, 14 Jul 2026 22:07:51 +0200 Subject: [PATCH] JS --- README.tlm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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]