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

JesseJesse34 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 weeks ago
Created
2 weeks ago
Updates
3 releases
Downloads
34
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.

Code Editor

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

Argument Map with Argdown

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

Strudel REPL

Live-coding music environment — Strudel REPL integrated into your vault.

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.

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.

Numerals

Turn any code block into an advanced calculator. Evaluate math expressions on each line of a code block, including units, currency, and optional TeX rendering.

Templater

Create and use dynamic templates.

Various Complements

Complete words similar to auto-completion in an IDE.