You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-16Lines changed: 18 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@ This plugin for Obsidian allows you to run JavaScript from within your notes usi
4
4
5
5
## Usage
6
6
7
-
Start by creating a code block with the `js-engine` plugin. Inside the code block you can write any JS code and at the end return a value.
7
+
Start by creating a code block with the `js-engine` plugin. Inside the code block you can write any JS code and at the end return a value.
8
8
The plugin will then render the returned value instead of the code block. When you return nothing, the plugin will not render anything and the code block will be invisible.
9
9
10
10
## API Docs
11
11
12
12
The following variables are available in the code blocks.
0 commit comments