Manta Code Blocks

approvedunreviewed

by woonyong-choi

Edit and run code inside Obsidian notes, with inline results and optional local or remote runtimes.

↓ 167 downloadsUpdated 2mo agoMIT

Manta Code Blocks

Manta Code Blocks is an Obsidian Community plugin that turns run-* code fences into editable examples with inline output.

  • Seven browser runtimes work without an account. Other languages use an optional local container companion or a named remote provider.
  • Runtime adapters share one result contract. A failed provider is retried only when execution is known not to have started, so an unknown failure cannot run the same code twice.
  • Version 0.7.10 supports 24 language fences through 10 adapters. The repository test suite covers adapter selection, parsing, UI state, and release metadata.

Install in Obsidian · Try the live editor · User guide

Version: 0.7.10 · Obsidian 1.13.0+ · Desktop and mobile. See release notes for shipped changes and the roadmap for work in progress and plans.

Manta Code Blocks: edit a discount, run the code and compare the output

A six-second loop of the current browser UI, with real JavaScript execution. Timing is condensed.

Install and try

  1. Open the existing Community entry in Obsidian.
  2. Select Install, then Enable.
  3. Paste this block in a note, switch to Reading view, and select Run:
```run-javascript
console.log("Hello from Obsidian!");
```

The result appears below the code. Edit the example and run again; Copy keeps your edited code, while Reset restores the original.

Seven browser fences work without an account or server. Other languages use an optional local companion or a named remote provider. Remote execution is enabled by default; disable it in settings to prevent remote submission.

Manual installation: download main.js, manifest.json, and styles.css from Releases into .obsidian/plugins/runnable-code-blocks/, then reload Obsidian.

Original runtime capture and recorded version

Manta Code Blocks walkthrough

Browser demo, September 9, 2026 (0.7.3); the capture predates the Manta name.

Part of the Manta family

The plugins work independently and share ordinary Markdown and links: Manta Diagrams, Manta Graph, and Manta Calendar.

Help and development

User guide · Report a problem · Community page · Contributing

MIT · Third-party notices

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.