sdk-v0.9.1
sdk-v0.9.1 (2025-04-10)
Features
-
Editor: allow folding lines and regions (984c913)
A new config option
foldRegions
was added. When set totrue
, regions marked by#region
and#endregion
comments are folded when the project is loaded.In addition, editor configurations (
config.markup
,config.style
,config.script
) have a new propertyfoldLines
that accepts an array of objects (e.g.[{ from: 1, to: 5 }]
) that indicates which lines to fold. This can be useful for less relevant code in embedded playgrounds.
-
Config: add the value
"auto"
toconfig.editor
options (0f62de8)If set to
auto
, Monaco editor is used on desktop and CodeMirror is used on mobile regardless of other settings. This can be useful in"simple"
mode.