query
as the language, similar to how mermaid works. Note that this syntax does not work in Obsidian Publish.Ctrl/Cmd+Click
and Alt+Enter
for links in the editor.Shift
while dropping text will drop it in plaintext mode, similar to Ctrl/Cmd+Shift+V
to paste in plaintext mode.**
signs.WorkspaceItem.getRoot()
which returns one of Workspace.leftSplit
, Workspace.rightSplit
, or Workspace.rootSplit
. This can be used to distinguish whether a WorkspaceLeaf
is in the center area or the sidebars.Workspace.on('quit', callback: (tasks: Tasks) => any)
. This takes a callback with a Tasks
object. You can perform any cleanup tasks in here. For any async/promise-based cleanups, such as saving files, add your task to the execution queue using Tasks.add(async () => { ... })
or Tasks.addPromise(promise)
so that the app waits until your task is finished before quitting.MarkdownPostProcessorContext.addChild
for more details.