The Execute Code plugin allows users to run code snippets directly within Obsidian notes across multiple programming languages, including Python, JavaScript, C++, and more. It provides a 'run' button for supported code blocks, executing them locally and displaying the results in the note. The plugin supports embedded plots for some languages and offers features like persistent output storage, global code injections, and notebook mode, which maintains a shared execution environment within a note.
The CustomJS plugin allows users to extend their Obsidian experience by writing custom JavaScript code that can be invoked across various parts of the application. Users can load scripts from individual files or entire folders, making it easy to organize and manage custom functionality. The plugin supports invocable scripts, which can be executed via hotkeys or startup triggers to automate workflows. It provides seamless integration with other popular Obsidian plugins, such as Dataview and Templater, enabling dynamic content generation within notes.
The User Plugins plugin allows advanced users to leverage the Obsidian Plugin API within JavaScript snippets or modules, enabling custom modifications to Obsidian's behavior without the complexity of creating full-fledged plugins. Users can add commands, test plugin ideas, or execute any desired functionality with Obsidian's API. The plugin supports multiple script types, including plugins, modules, and snippets, and provides a Helper API for easier development. This tool is ideal for users seeking flexible, script-based customizations.
The Babashka plugin enables Obsidian users to run Clojure and ClojureScript code blocks directly within their vaults. It integrates with Babashka and Node Babashka to provide scripting capabilities, allowing users to execute code, evaluate results, and print outputs inline or externally. The plugin supports starting and connecting to nREPL servers for interactive sessions, as well as managing dependencies through configurable project files like `bb.edn`. Vault-specific bindings for metadata and file context are also auto-generated, enhancing the scripting experience. This plugin is ideal for users looking to extend Obsidian's functionality with advanced scripting and automation.
The Plugin REPL plugin enables users to execute JavaScript code directly within Obsidian, providing an interactive scripting environment for automating tasks and developing custom commands. It allows access to Obsidian’s plugin API, making it possible to manipulate files, control the editor, and create new commands without developing a full plugin. Inspired by Emacs, it includes convenience functions for interacting with the vault, executing scripts, and modifying content dynamically. Users can define persistent commands, run startup scripts, and explore Obsidian’s internal API, making it a powerful tool for developers and advanced users seeking greater automation and control over their workspace.
The pycalc plugin allows users to execute Python code directly within Obsidian notes, providing an interactive way to perform calculations and automate workflows. By leveraging Brython, the plugin runs Python scripts seamlessly within the editor, enabling quick data processing without leaving the note-taking environment. It enhances productivity by offering an efficient solution for users who frequently work with Python code for computations, automation, or analysis.