Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

311 B
Raw Blame
/* Copyright 2026 Marimo. All rights reserved. */

/**
 * Whether the current environment is in the VSCode extension
 */
export function isInVscodeExtension(): boolean {
  // We check if the document has a data-vscode-theme-kind attribute
  return document.querySelector("[data-vscode-theme-kind]") !== null;
}