Skip to content

HananoshikaYomaru/obsidian-run

Repository files navigation

Obsidian Run

Generate markdown from dataview query and javascript.

  • ✅ Powerful, Dead Simple
  • ✅ Markdown based, work with every markdown editor / render
  • ✅ Works well with Dataview, Templater, Obsidian publish

demo: https://www.youtube.com/watch?v=_UAr6e6hlVI&t=71s

Installation

Plugin marketplace

You can download this from obsidian plugin store.

Manual Installation

  1. cd to .obsidian/plugins
  2. git clone this repo
  3. cd obsidian-run && bun install && bun run build
  4. there you go 🎉

Usage

  1. install this plugin and install obsidian-custom-save
  2. add the run: run file command to the custom save actions
  3. define a starting tag
%% run start 3+4%%
  1. save the file
  2. you markdown will become something like this
%% run start
3+4
%%
7
%% run end %%

Syntax

Each block of run contains three parts: starting tag (required), generated content, ending tag

starting tag (required)