A collection of advanced note templates for Obsidian, built around the Dataview plugin and its JavaScript query engine (dataviewjs).
These are not static markdown snippets. Each template uses Dataview JS to read and write its own YAML frontmatter, so a note can hold editable state and render content that updates live as that state changes.
A template combines three layers:
- YAML frontmatter stores the note's state (for example, a
branchname). dataviewjsblocks read that state viadv.current()and render dynamic content from it.- Interactive controls (inputs, buttons) write new values back to the frontmatter with
app.fileManager.processFrontMatter(...)and re-render the preview, so the dependent blocks recompute automatically.
The result is a note that behaves like a small interactive tool while remaining plain markdown on disk.
- Git.md — Set a branch name once and get a ready-to-copy list of git commands (checkout, push, rebase, reset, and more) with that branch name filled in, alongside a reference of common git commands.
- Open the
Templates/folder as an Obsidian vault (or copy the templates into an existing vault). - Install and enable Dataview, then enable JavaScript Queries in its settings.
- Open a template note in reading/preview mode. The
dataviewjsblocks only render there, not in source mode.