HTML
Install Obsidian in a HTML environment

version: example
Installation
Obsidian depends on TailwindCSS so you need to first setup TailwindCSS.
You can do this by adding this line of code to the <head>
section of your HTML file:
Then you can import the Obsidian widget script in the <head>
section of your HTML file:
You will also need to add the following lines of code into a stylesheet.
Usage
or
To check how the UI data is structured, you may refer to the UI parser or the UI Element Typedefs.
Extra Resources
If you want to automatically dump your obsidian UI to a JSON file, you can use the following script which will save a file named ObsidianExtracted.json
in your executor's workspace
folder:
This file can then be put in a static path and imported in the ui-data-src
prop of the Obsidian component: