Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

ecu-codekit

Eren CanEren Can9 downloads

Code in your notes: detects pasted code, runs commands in the terminal, edits code files and previews HTML.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Better code in your Obsidian notes: paste code and it lands in the right code block, run commands straight from a note, edit code files with highlighting and preview HTML side by side.

Pasting commands turns them into a code block that runs in the terminal

Features

  • Paste detection: paste a snippet and it is wrapped in a fenced code block with the right language (bash, Go, Python, YAML, JSON, SQL, Dockerfile, HTML and 20+ more). A small notice lets you change the language or keep it as plain text. Cmd/Ctrl+Shift+V pastes without detection.
  • Code block buttons on every block: copy, run in terminal (shell blocks), change language, save as file.
  • Run in terminal (needs ecu-terminal): sends a block or the current line to the terminal (give "Run line / selection in terminal" a hotkey such as Cmd/Ctrl+Shift+Enter under Settings > Hotkeys). Prompts like user@host $ and command output are stripped first. <placeholders> are filled in a small form, and risky commands (rm -rf, reboot, kubectl delete, git push --force, curl … | sh, DROP TABLE, terraform destroy, …) ask before running. Blocks with no language tag always ask too.
  • Code files: .sh .go .py .yaml .json .sql .conf .log and more open in a CodeMirror editor with highlighting, search, a read-only lock and a "run this script" button.
  • HTML preview: right-click an .html file and choose Preview or Preview beside. The preview reloads when the file changes and runs in a sandboxed frame with no access to Obsidian or your vault. Obsidian doesn't let the frame load other vault files, so images and stylesheets next to the HTML file aren't shown; inline <style> and data: images work. JavaScript is off by default and can be switched on per preview; network access is a separate setting, also off by default.
  • Save a block as a file into a folder of your choice, with a link back in the note.

Code blocks with copy, run, language and save buttons

Running a block with placeholders

Code file and HTML preview side by side

Install

Desktop only (macOS, Windows, Linux).

  1. From the latest release, download main.js, manifest.json and styles.css into <your vault>/.obsidian/plugins/ecu-codekit/.
  2. In Obsidian, open Settings > Community plugins, turn off Restricted mode if needed, and enable ecu-codekit.
  3. Optional: install ecu-terminal to run commands from notes.

The plugin itself makes no network requests. An HTML file you preview can load resources from the internet only if you turn on Allow network in HTML preview.

Commands

All of these are in the command palette and in the right-click menu of a code block: paste as code, wrap selection in a code block, change language, copy block, save block as file, unwrap block, run line / block in terminal, new code file, insert a code file into a note, preview HTML beside, toggle paste detection.

Language

The interface is available in English and Turkish. By default it follows Obsidian's language; you can pick one under Settings > ecu-codekit > Language.

License

MIT, see LICENSE.

HealthExcellent
ReviewPassed
About
Paste code that auto-wraps into fenced blocks with detected language (20+ languages) and quick language switching. Run code blocks or send lines to a terminal (works with ecu-terminal), fill placeholders via a form and confirm risky commands before execution. Edit code files with highlighted CodeMirror, save blocks as files with links, and preview HTML side-by-side in a sandbox.
CodeEditingFiles
Details
Current version
1.3.0
Last updated
11 hours ago
Created
16 hours ago
Updates
3 releases
Downloads
9
Compatible with
Obsidian 1.7.2+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
Eren CanEren Canerencanucar
GitHuberencanucarr
  1. Community
  2. Plugins
  3. Code
  4. ecu-codekit

Related plugins

Code Space

Professional code file management with visual dashboard, syntax highlighting editor, Markdown embedding, external folder mounts, and terminal integration.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Gemini Scribe

Allows you to interact with Gemini and use your notes as context.

Remember cursor position

Remember cursor and scroll position for each note.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Templater

Create and use dynamic templates.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Advanced URI

Control everything with URI.