No description
Find a file
2023-01-07 17:25:56 +13:00
dist build 2023-01-07 17:25:56 +13:00
docs add markers and docs 2023-01-07 14:03:07 +13:00
src add reading view codeblock hiding 2023-01-07 17:21:33 +13:00
.editorconfig init poc 2022-11-23 00:31:32 +13:00
.eslintignore init poc 2022-11-23 00:31:32 +13:00
.eslintrc . 2023-01-06 11:36:45 +13:00
.gitignore init poc 2022-11-23 00:31:32 +13:00
.npmrc init poc 2022-11-23 00:31:32 +13:00
esbuild.config.mjs move main.ts to src 2023-01-06 15:14:26 +13:00
LICENSE update license 2023-01-06 21:52:18 +13:00
manifest.json version bump 2023-01-07 14:10:17 +13:00
package-lock.json . 2023-01-06 11:36:45 +13:00
package.json . 2023-01-06 11:36:45 +13:00
README.md update docs 2023-01-07 14:13:35 +13:00
styles.css add reading view codeblock hiding 2023-01-07 17:21:33 +13:00
tsconfig.json . 2023-01-06 11:04:14 +13:00
version-bump.mjs init poc 2022-11-23 00:31:32 +13:00
versions.json version bump 2023-01-07 14:10:17 +13:00

Meld Build - An Obsidian Plugin

Write and execute (sandboxed) JavaScript to render templates, query DataView and create dynamic notes.

Basically, turn a note into a small, simple, runnable thing.

Quick Start

  • Install and enable the plugin
  • Paste the Markdown below into a new note.
  • If you are in Reading or Live Preview modes, click the 'Run' button. If you are in Source mode, choose Meld Build: Run from the command pallette.

```meld-build-toolbar
```

```js meld-build
const ans = await $.ui.ask('What should I call you?');
await $.ui.message( `From this day forth you shall be known as ${ans}` );
```

Documentation

Examples

Known Issues

  • If you quickly try to run a note just after some changes, there's a chance that the Obsidian cache hasn't been updated yet. The workaround for now is to wait a second or two before running a changed note.

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/meld-build/.