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

Onyx

JesseJesse81 downloads

Edit source files with CodeMirror 6 and language servers, without leaving the app.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Onyx is an Obsidian plugin for editing source files with CodeMirror 6 and language-server support without leaving Obsidian.

Features

  • Edit common programming and data-file formats inside Obsidian.
  • Syntax highlighting, code completion, diagnostics, hover information, and go-to-definition through supported language servers.
  • Multiple synchronized editor panes, file navigation, Git gutter indicators, and configurable autosave behavior.
  • A source-ordered, nested code outline in the right sidebar, with the current namespace/class/function chain shown in the editor's navigation breadcrumb.

Onyx is desktop-only. Language servers are configured explicitly by each project. Put onyx.toml at the project root, for example:

name = "My C++ project"

[lsp.cpp]
command = ["nix", "develop", ".", "-c", "clangd"]

The file's directory is the project root. Commands are exact argument arrays: Onyx does not invoke a shell, guess project boundaries, choose server versions, or modify PATH. Before running a new or changed configuration, use Onyx: Trust current project's language server and review the displayed command.

Installation

Install Onyx through Obsidian's community plugins browser when it becomes available. For a manual installation, download main.js, manifest.json, and styles.css from a release and place them in:

<vault>/.obsidian/plugins/onyx/

Restart Obsidian, then enable Onyx under Settings → Community plugins.

Development

npm install
npm test
npm run lint
npm run build

License

MIT

HealthExcellent
ReviewCaution
About
Edit source files with CodeMirror 6 in Obsidian with syntax highlighting, completions, diagnostics, hover and go-to-definition from language servers. Open synced editor panes, navigate files, view Git gutter and autosave; desktop-only, LSPs must be installed locally.
CodeAutocompleteSyntax
Details
Current version
0.2.0
Last updated
2 months ago
Created
2 months ago
Updates
3 releases
Downloads
81
Compatible with
Obsidian 1.13.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
JesseJessebiehenjia
GitHubbiehenjia
  1. Community
  2. Plugins
  3. Code
  4. Onyx

Related plugins

VSCode Editor

Edit Code Files like VSCode.

Shiki Highlighter

Highlight code blocks with Shiki.

Argument Map with Argdown

Write Argdown code blocks and view the maps in reading mode.

Code Editor

Edit non-markdown text files (code, config, data) directly with syntax highlighting, line numbers, and word wrap.

Code Viewer

View and edit code files with native syntax highlighting.

Code File Embed

Embed the contents of a vault file as a syntax-highlighted code block via a codefile fenced block.

Masking as MD

Open non-markdown files (.py, .html, .txt, .js, .css, etc.) as editable text documents directly in Obsidian.

Code Suite

Execute code inside your notes: Shiki syntax highlighting with 65+ themes, live streaming output, inline Matplotlib and Plotly graphs, shared variables, and styled HTML and PDF export with outputs.

CodeBlock Language Detector

Automatically detects and adds language tags to code blocks without specified language for proper syntax highlighting.

Templater

Create and use dynamic templates.