log: escape double brackets for mkdocs macros

This commit is contained in:
jean-emmanuel 2025-12-17 11:19:48 +01:00
parent 70be6fedfa
commit 199b6241aa

View file

@ -964,7 +964,7 @@
- advanced syntaxes
- new syntax for creating and using custom variables in properties: `VAR{name, default}`
- `JS{}` blocks don't require 2 brackets anymore (`JS{{}}` still works)
- `JS{}` blocks don't require 2 brackets anymore (`JS\{\{}}` still works)
- scripting
- add `getVar()` and `setVar()` for reading and modifying custom variables. This allows modifying properties directly from scripts (if they contain `VAR{}` blocks).
@ -1035,7 +1035,7 @@
- add option for receiving note off with velocity
- misc
- v0->v1 session conversion: remove `JS{{}}` in script property
- v0->v1 session conversion: remove `JS\{\{}}` in script property
## 1.9.0
@ -1637,14 +1637,14 @@ As of this version, packages except the `node` package are bundled with a midi b
- scripting (general)
- removed MathJS language
- reuse #{} syntax as as shorthand for JS{{}} (one liner, implicit return)
- reuse #{} syntax as as shorthand for JS\{\{}} (one liner, implicit return)
- added `locals` variable, a variable store scoped to the widget
- renamed `global` to `globals`
- expose environment variables in `globals`: `url`, `env` (query parameters), `platform`, `screen` (width/height)
- script widget
- always hidden except in project tree
- `script` property must not be wrapped in a JS{{}} block anymore
- `script` property must not be wrapped in a JS\{\{}} block anymore
- added `stateGet` and `stateSet` functions
- added `storage` object, proxy to the document's localStorage object (allows storing data that persist after refresh/close (cleared with the browser's cache)
- added `setTimeout`, `clearTimeout`, `setInterval`, `clearInterval` function proxies with an extra `id` argument (they clear automatically when called multiple times and upon widget removal. `id` is scoped to the widget)