geeknees_obsidian-ruby-wasm.../README.md
Masumi Kawasaki 75a4ebe371
feat: add REPL-style Ruby code block runner with captured output
- Add Run button for rendered ruby fences and show stdout/stderr/result/error separately
- Support running full ruby code block when no selection is made and insert formatted output
- Implement version-aware ruby.wasm runtime loading with queued execution and output capture
- Document new features in README and remove obsolete manifest/styles assets
2026-05-16 17:20:36 +09:00

1 KiB

Obsidian RubyWasm Plugin

This is a ruby.wasm plugin for Obsidian (https://obsidian.md).

The plugin downloads the selected Ruby WebAssembly runtime from jsDelivr the first time you run a command so the shipped main.js stays small enough for Obsidian Sync.

Ruby versions

You can choose the runtime version in Settings -> Community plugins -> ruby.wasm.

Currently supported:

  • Ruby HEAD
  • Ruby 4.0
  • Ruby 3.4
  • Ruby 3.3
  • Ruby 3.2

Features

  • Run the selected Ruby code from the editor
  • Run the whole current Ruby code block when nothing is selected
  • Show stdout, stderr, return value, and errors separately
  • Add a Run button under rendered ruby code blocks for a lightweight REPL flow
  • Choose the Ruby runtime version from plugin settings

How to use

Select a code block

Execute command

Get Results

API Documentation

See https://github.com/obsidianmd/obsidian-api