All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
- Fix app://local deprecation (New minimal Obsidian version: v1.2.8) (Thanks to @mayurankv)
- Fix Racket support (Thanks to @mayurankv)
- Support for Applescript (Thanks to @mayurankv)
- Update version support for C/C++. Add Working draft for ISO C++ 2020 for the C++ language. (Thanks to @drsect0r)
- Support for Octave
- Support for Maxima
- Add more examples for magic commands to README.md
- Pass environmental variables to the REPL executors
- Allow language names that are not lower case
- Support for SQL
- add info percent sign batch (Thanks to @hannesdelbeke)
- Remove ANSI escape codes from
stderr
- Add new executor for PowerShell that fixes problems with file encodings by encoding powershell scripts with latin-1 instead of windows-1252.K
- Helpful docu for finding the path for a language (Thanks to @javascriptooo)
- Fix wrong scala settings (Thanks to @scoopsdev)
- Fix magic commands @vault_path and @vault_url
- New magic command
@theme
to get if obsidian is in dark or light mode (Thanks to @chlohal) - New magic commands
@vault_path
and@note_path
to get the path, and@vault_url
and@note_url
to get the url. They replace the old magic commands@vault
and@note
. - Support for Racket (Thanks to @Ghexor)
- Support for F# (Thanks to @chlohal)
- Support for Dart (Thanks to @andremeireles)
- Support for Ruby (Thanks to @santry)
- Support for Batch scripts (Thanks to @hannesdelbeke)
- Support for C (Thanks to @chlohal)
- Fix the wrong options for wolframscript (Thanks to @davnn)
- Escape ANSI color codes in the output (Thanks to @chlohal)
- Notebook mode for R (Thanks to @chlohal)
- Improved hiding of running indicator (Thanks to @chlohal and @ZackYJz)
- Fix problem with the output boxes showing up (Thanks to @qiaogaojian)
- WSL support (thanks to @clohal)
- Fix bug where recursion didn't work and some parts of the code couldn't be executed (Python executor's usage of
exec
/eval
) (thanks to @clohal) - Fix formatting for the Scale section in the README.md (thanks to @cbarond)
- Fix mixed up mathematica settings (thanks to @clohal)
- Fix wrong setting for Mathematica
- Improve styles (thanks to @milan338)
- Refactor interactive executors to cut down on code reuse (thanks to @chlohal)
- Fix Error Notif on Success (thanks to @clohal)
- Support for Scala (Thanks to @chlohal)
- Add run indicator to non-interactive blocks (Thanks to @milan338 and @chlohal)
- Fix problems with runtimes and never hiding running indicators (Thanks to @milan338)
- Various bug fixes (Thanks to @chlohal)
- Added Option to use either ghci or runghc. (Thanks to @afonsofrancof)
@html(...)
command and better HTML Handling. (Thanks to @chlohal and @milan338)- Show indicator when block is running. (Thanks to @chlohal)
- Update Future Work section and add snap/flatpak/appimage problem to known issues. (Thanks to @chlohal)
- Fix python notebook mode freezing after showing a matplotlib plot. (Thanks to @milan338)
- Better output coloring to fix color problems with plugins like codemirror. (Thanks to @milan338)
- Fix JS notebook mode freezing when global injection is used. (Thanks to @chlohal)
- Fix Rust Execution to use
cargo eval
instead ofcargo run
. (Thanks to @chlohal)
- 'Notebook Mode' for Python and JavaScript utilizing their respective REPL. (Thanks to @chlohal)
- Add command to run all blocks in a given file to the command palette. (Thanks to @chlohal)
- Support for Haskell. (Thanks to @afonsofrancof)
- Changed syntax for Code injection via pre and post blocks. (Thanks to @milan338)
- Style of the run and clear buttons. (Thanks to @milan338)
- Updated the README and create collapsing layout. (Thanks to @milan338)
- Support for Wolfram Mathematica
- Quickfix for issues #77 and #81 by spawning always with Shell (Problems with spawning processes on Windows. This also affects #75, Security concern with spawning in shell.)
- Fix for #84
- Support for interactive input blocks. That means code blocks can now read from stdin. (Thanks to @chlohal)
- Support for TypeScript (Thanks to @qiaogaojian)
- Support for C# (Thanks to @qiaogaojian)
- Support for Lua (Thanks to @qiaogaojian)
- Changed project structure: Added node config and build files to root dir.
- Added documentation for every function.
- Fixed shell support.
- Refactored parts of the project and folder structure.
- Updated dependencies.
- Fixed issue #60 to fix the clear buttons.
- Quickfix for issue #59 by improving the regex.
- Support for global code injections (thanks to @milan338).
- Support for Pre- and Post-Blocks that are executed before/after each code block in the same note (thanks to @milan338)
- Improved C++ support by switching from JSCPP to Cling (thanks to @milan338).
- Support for Kotlin (thanks to @Gluton-Official)
- Add support for rust (thanks to @pspiagicw)
- Add support for Java
- Separate the implementation for Shell and Powershell
- Sanitize paths in the settings
- Improved Error handling
- Fix wrong executable in version 0.12.0
- Support for Go
- Support for R.
- Embedding R plots into notes.
- Fix errors that appear when code blocks are inserted to table cells (Issue #41 and #35).
- Improve style to fix issue #36.
- Improve logging.
- Refactoring
- Extract Groovy execution to separate function.
- Extract Button Listener handling to separate function.
- Fix code smells.
- Add error messages to the output block.
- Fix encoding for plots (thanks to @Thylane)
- Fix groovy
- Magic Commands that can be added to source code to get new behavior tailored to obsidian.
@show(ImagePath)
: Displays an image at the given path in the note.@show(ImagePath, Width, Height)
: Displays an image at the given path in the note.@show(ImagePath, Width, Height, Alignment["center"|"left"|"right"])
: Displays an image at the given path in the note.@vault
: Inserts the vault path as string.@note
: Inserts the note path as string.@title
: Inserts the note title as string.
- Support for Groovy
- Some refactoring and cleanup.
- Fix error when plotting.
- Export to HTML when printing html code.
- PyPlots are automatically embedded as svg image into notes.
- Improved settings tab.
- Support for live preview. Adding
run-
before the language name in the code block renders the code block in the live preview. (Thanks to @rmchale)
- Support for shell scripts (Thanks to @rmchale for the help)
- Fix persistent custom path (Thanks to @rmchale)
- Add running, done and error Notice to C++ and Prolog
- Fix issue #9. Works now on macOS too. (Thanks to @rmchale)
- Fix hardcoded Python path (Thanks to @vkmb)
- Support for C++ (Using JSCPP)
- Support for Prolog (Using Tau-Prolog)
- Support for Python
- Settings for command line options
- Improved execution of JavaScript
- Fix markdown post processor
- Remove use of innerHTML
- Changelog
- Use
registerMarkdownProcessor
instead of a timed interval. (Thanks to @lishid for the suggestion.) - Use promises instead of callbacks for creating and deleting files. (Thanks to @lishid for the suggestion.)