Cook

Changing the theme

By default, plugin-views starts with the light theme. You can change this by parssing a THEME env variable when starting

THEME=dark yarn start

Simulate Change Activate Editor in Browser Mode

  • TIP: You can change the id to any id inside of Test Workspace to see how different views function
id = "9eae08fb-5e3f-4a7e-a989-3f206825d490";
window.postMessage({
  type: "onDidChangeActiveTextEditor",
  data: { note: { id } },
  source: "vscode",
});

Backlinks