Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 352 Bytes

Scripting.md

File metadata and controls

18 lines (14 loc) · 352 Bytes
title Scripting
tags
developers
api

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