Skip to main content

Module index_bindings

Module index_bindings 

Source
Expand description

Index query bindings for Lua.

This module provides Lua bindings for querying the vault index:

  • mdv.current_note() - Get the current note being processed
  • mdv.backlinks(path) - Get notes linking to a path
  • mdv.outlinks(path) - Get notes a path links to
  • mdv.query(opts) - Query the vault index

Functionsยง

register_index_bindings
Register index query bindings on an existing mdv table.