github live-codes/livecodes sdk-v0.9.1

latest releases: v46, sdk-v0.11.1, sdk-v0.11.0...
5 months ago

sdk-v0.9.1 (2025-04-10)

Features

  • Editor: allow folding lines and regions (984c913)

    A new config option foldRegions was added. When set to true, 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 property foldLines 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" to config.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.

Don't miss a new livecodes release

NewReleases is sending notifications on new releases.