Page:
Scripting
Pages
Actions
Attachment
Audio recorder
Autocmds
Bookmarks
Breaking Changes
Cache
Checkbox
Commands
Completion
Daily Notes
Editing this wiki
Extensions
File
Folding
Footer
Frontmatter
Home
Images
Integrations
Keymaps
LSP Progress
LSP
Link
Navigation
Note
Open
Recipes
Resolvers
Scripting
Search
Startup Guide
Statusline
Sync
Tag
Template
Unique Note
Workspace
No results
1
Scripting
zizhou teng (n451) edited this page 2025-06-29 22:31:51 +08:00
Table of contents
Obsidian global variable
Get the current state of obsidian, with Obsidian, it is useful for making plugin integrations or your own scripts.
local dir = Obsidian.dir
local workspace = Obsidian.workspace
local opts = Obsidian.opts
local daily_notes_dir = opts.daily_notes.dir
🌟 obsidian.nvim
Topics
- Actions
- Autocmds
- Commands
- Folding
- Extensions
- Images
- Integrations
- Keymaps
- Navigation
- Scripting
- Startup-Guide
- Recipes
- LSP
- LSP-Progress