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
+38-8Lines changed: 38 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,31 +14,48 @@ The result is shown only after the execution is finished. It is not possible to
14
14

15
15
16
16
17
-
The following [languages are supported](#supported-programming-languages-): C, CPP, Dart, Golang, Groovy, Kotlin, Java, JavaScript, TypeScript, Lean, Lua, CSharp, Prolog, Rust, PHP, Python, R, Ruby, Wolfram Mathematica, Haskell, Scala, Racket, F#, Batch, Shell & Powershell, Octave, Maxima, Zig and OCaml.
17
+
<hr>
18
+
19
+
> [!NOTE]
20
+
> Advertisement on my behalf:
21
+
> I am working on my master's thesis and looking for a PhD position in explainable AI or foundations of learning - if you have or know about an open position in that field, I would love to hear about it 😄
22
+
23
+
24
+
<hr></div>
25
+
26
+
27
+
The following [languages are supported](#supported-programming-languages-): C, CPP, Dart, Golang, Groovy, Kotlin, Java, JavaScript, TypeScript, Lean, Lua, CSharp, Prolog, Rust, Python, R, Ruby, Wolfram Mathematica, Haskell, Scala, Racket, F#, Batch, Shell & Powershell, Octave, Maxima, Zig and OCaml.
18
28
19
29
20
30
Python, Rust, and Octave support embedded plots. All languages support ["magic" commands](#magic-commands-) that help you to access paths in obsidian or show images in your notes.
21
31
22
32
You can create code blocks that are executed before or after each code block of the same language and define [global code injections](#global-code-injection-and-reusing-code-blocks-).
23
33
34
+
New: You can [persistent output](#persistent-output-experimental) to store the output of a code block in the note and export it to PDF.
35
+
24
36
Take a look at the [changelog](CHANGELOG.md) to see what has changed in recent versions.
25
37
26
-
[Here](#misc-) you can find some other tools and plugins that might are compatible with this plugin and might be useful for you.
38
+
[Here](#misc-) you can find some other tools and plugins that are compatible with this plugin and might be useful for you.
27
39
40
+
<br>
28
41
<divalign='center'>
29
42
30
-
[](https://www.buymeacoffee.com/timwibiral)
43
+
If you like this plugin and use it a lot, please consider supporting me in continuing the development of this plugin. You can also sponsor a new feature or language integration directly, if you want to speed-up the development for a specific feature you need.
44
+
45
+
[](https://github.com/sponsors/twibiral)[](https://www.buymeacoffee.com/timwibiral)
46
+
31
47
</div>
32
48
33
49
34
50
## Featured In
35
51
36
-
|[](https://www.youtube.com/watch?v=eQz4eAW3ZDk)|](https://img.youtube.com/vi/w7vyavrMYqw/0.jpg)|
37
-
|---|---|
38
-
| "Escape ChatGPT. Make your own Code Interpreter EASY" by _I Versus AI_| "Obsidian & quarto integration" by _Michel's Science Speedrun_|
52
+
|[](https://www.youtube.com/watch?v=eQz4eAW3ZDk)|](https://img.youtube.com/vi/w7vyavrMYqw/0.jpg)|](https://img.youtube.com/vi/lRq3mlvcyJw/0.jpg)|](https://img.youtube.com/vi/qY1P_CmL8aQ/0.jpg)|
53
+
|---|---|---|---|
54
+
| "Escape ChatGPT. Make your own Code Interpreter EASY" by _I Versus AI_| "Obsidian & quarto integration" by _Michel's Science Speedrun_| "Write SQL Queries in...Obsidian?" by _GlareDB_| "인생 노트앱...드디어 찾았습니다..!" by _노마드 코더 Nomad Coders_|
39
55
40
56
In blogs:
41
57
-["Using Obsidian: Coding Notes" by _Kera Cudmore_](https://www.codu.co/articles/using-obsidian-coding-notes-pqjyljkh)
58
+
-["Obsidian and Jupyter Notebooks" by _Brian Carey_](https://medium.com/@biscotty666/obsidian-and-jupyter-notebooks-5d90ab3eab4c)
42
59
43
60
<small>Are you featuring this plugin in your content? Let me know and I will add it here.</small>
44
61
@@ -667,6 +684,20 @@ undefined
667
684
To manage the open runtimes for Notebook Mode, you can use the `Open Code Runtime Management` command in the command palette. From this sidebar window, you can stop kernels. **Note: force-stopping requires `taskkill` on Windows and `pkill` on Unix. 99% of systems should have these preinstalled: if yours doesn't, please [file an issue](https://github.com/twibiral/obsidian-execute-code/issues/new/choose)**
668
685
669
686
687
+
### Persistent Output \[Experimental\]
688
+
689
+
Since version 2.0.0, the plugin supports persistent output. This means that the output of a code block is
690
+
stored in the note and will be displayed when you open the note again. This is useful for long-running code blocks or
691
+
code blocks that produce a lot of output. The output is stored in the note as a comment and will be displayed in the
692
+
preview mode.
693
+
694
+
To enable this feature, you have to enable the setting `Persistent Output` in the plugin settings.
695
+
We recommend reopening open notes that contain code blocks after enabling this feature.
696
+
697
+
This feature is still experimental and may not work as expected in all cases.
698
+
We recommend that you disable this feature if you encounter any problems.
699
+
700
+
670
701
## Misc 📦
671
702
### Style Settings 🎨
672
703
@@ -686,7 +717,7 @@ In your vault go to Settings > Community plugins > Browse and search for "Execut
686
717
or
687
718
688
719
Follow [this link](https://obsidian.md/plugins?search=execute%20code#) and click "Open in Obsidian".
0 commit comments