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 Lean Syntax Highlight plugin for Obsidian adds live syntax highlighting for the Lean programming language. This plugin enhances the readability of Lean code within Obsidian by providing clear and structured color-coded syntax. It is ideal for users working with Lean, offering real-time visual distinction of keywords, functions, and variables. The plugin is a fork of existing syntax highlight tools and is focused solely on Lean, which is not natively supported in Obsidian. With this plugin, users can improve their coding workflow by making Lean code easier to read and understand.
The Code Emitter plugin transforms Obsidian into an interactive coding environment similar to Jupyter Notebooks. It allows users to execute code blocks within notes across multiple programming languages, including Python, JavaScript, TypeScript, HTML, and CSS, as well as others like Rust, Kotlin, and C++. Code can run locally via JavaScript or WebAssembly sandboxes or be processed on third-party platforms, depending on the language. This functionality is available on all platforms supported by Obsidian, including desktop and mobile. The plugin is particularly useful for developers, educators, and learners who want to integrate live coding and algorithm testing into their Obsidian workflow.
The Format code blocks of various languages plugin enhances Obsidian's code formatting capabilities by introducing custom commands to format code in several programming languages. Using Prettier, the plugin currently supports languages like JSON, YAML, HTML, GraphQL, and TypeScript. It automatically formats code blocks within your notes to ensure they are properly structured and easy to read. This tool is useful for developers and anyone working with code in Obsidian, improving code readability and reducing formatting errors. The plugin integrates seamlessly into the Obsidian environment with simple commands that can be easily accessed.