fronglemog2k downloadsEdit the YAML source of a Base without leaving Obsidian.
An Obsidian plugin that adds a feature-rich text editor for editing the YAML source code of Bases.
.base files.base file extension) in the Base Source Editor, and edit the raw YAML source code without leaving the Obsidian app.Ctrl+Space, or with the Show suggestions command.Enter, Tab, or both.View the Roadmap to see planned features.
1.14.4+Add to Obsidian.base source editor.Base Source Editor plugin.Install.A Base can be opened in the Base Source Editor by:
24.22.2 or newer12.14.0 or newerClone this repo:
git clone https://github.com/fronglemog/obsidian-base-source-editor-plugin
cd obsidian-base-source-editor-plugin
Install dependencies:
pnpm install
pnpm run lint
pnpm run test
New builds are created at build/main.js.
| Command | Type checks | Minified | Watches for changes |
|---|---|---|---|
pnpm run build |
yes | yes | no |
pnpm run build:nocheck |
no | yes | no |
pnpm run build:nocheck:watch |
no | yes | yes |
pnpm run dev |
no | no (inline source map) | no |
pnpm run dev:watch |
no | no (inline source map) | yes |
After creating a new build, copy the build/main.js, styles/styles.css and manifest.json to .obsidian/plugins/base-source-editor in your Obsidian vault, and reload the Obsidian app.
After creating a new build, run this command (replace <VAULT_PATH> with the path to your Obsidian vault) and reload the Obsidian app.
[!WARNING] Before copying any files, the script looks for an
.obsidianfolder inside<VAULT_PATH>to determine if it's an Obsidian vault. The script will throw an error if it can't be found.
pnpm run copy-plugin-to-obsidian <VAULT_PATH>
For example:
pnpm run copy-plugin-to-obsidian "C:\Users\fronglemog\Documents\MyVault"pnpm run copy-plugin-to-obsidian ~/Documents/MyVaultI'm more than happy to accept feedback, issues, bug reports and pull requests.
I use AI as a tool to support development. I welcome contributions or feedback from those who have done so with considered and appropriate use of AI.
However, AI slop is not welcome. Contributions 100% authored or submitted by AI agents are not welcome.
I reserve the right to decline, reject or otherwise ignore any contributions that I judge to be AI slop.
MIT © fronglemog