github esm-dev/modern-monaco v0.3.7

7 hours ago
  • Add support for multiple themes (#53 by @curtis-allan)
    import { init } from "modern-monaco";
    const monaco = await init({
      themes: [
        "one-light",
        "one-dark-pro",
      ],
    });
    
    monaco.editor.create(document.getElementById("editor"), {
      theme: "one-light",
    })
    // update the editor theme
    monaco.editor.setTheme("one-dark-pro");
  • Deprecate theme option in favor of defaultTheme and themes (#53 by @curtis-allan)
  • Update shiki to 3.21.0
  • Update tm-grammars to 1.28.0
  • Update tm-themes to 1.10.15
  • Update vscode-css-languageservice to 6.3.9
  • Update vscode-html-languageservice to 5.6.1
  • Update vscode-json-languageservice to 5.7.1

Don't miss a new modern-monaco release

NewReleases is sending notifications on new releases.