This commit is contained in:
Cleon 2023-01-06 17:29:58 +13:00
parent 90fec7a8ed
commit 02ec84905a

View file

@ -2,6 +2,24 @@
Write and execute JavaScript in code blocks 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 'Hi' button. If you are in Source mode, choose `Meld Build: Run` from the command pallette.
````md
```meld-build-toolbar
run = Hi
```
```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}` );
```
````
## Documentaion
- [User Guide](/docs/user-guide.md)