Skip to content

Commit e465e41

Browse files
committed
update readme
1 parent 8dad800 commit e465e41

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,18 @@ This plugin for Obsidian allows you to run JavaScript from within your notes usi
44

55
## Usage
66

7-
Start by creating a code block with the `js-engine` plugin.
7+
Start by creating a code block with `js-engine` as the code block language.
88
Inside the code block you can write what ever JavaScript code that you want.
99
The plugin will run the JavaScript and render the returned value in place of the code block.
1010

11+
````md
12+
## This is a Note in Obsidian
13+
14+
```js-engine
15+
return engine.markdown.create('*test*');
16+
```
17+
````
18+
1119
## API Docs
1220

1321
Docs are available [here](https://www.moritzjung.dev/obsidian-js-engine-plugin-docs/).

0 commit comments

Comments
 (0)