Scratchblocks

approved

by shabegom, hayribakici

Forked from shabegom/obsidian-scratchblocks

This plugin has not been manually reviewed by Obsidian staff. Render scratchblocks codeblocks

44 downloadsUpdated 8d agoMIT

Obsidian-Scratchblocks

Render scratchblocks code blocks in Obsidian.

```scratchblock
when green flag clicked
```

will be rendered as:

Bildschirmfoto 2026-05-14 um 23 08 25

Checkout the Scratch documentation on how to write Scratch code.

Under the hood

It exposes the scratchblocks library at the top level of Obsidian so you can use it inside templater or other code running plugins.

Contributing

To make changes to this plugin, first ensure you have the dependencies installed.

npm install

Development

To start building the plugin with what mode enabled run the following command:

npm run dev

Note: If you haven't already installed the hot-reload-plugin you'll be prompted to. You need to enable that plugin in your obsidian vault before hot-reloading will start. You might need to refresh your plugin list for it to show up.

Releasing

To start a release build run the following command:

npm run build

Credits

This is a fork from shabegom/obsidian-scratchblocks, which renders scratchblocks codeblocks into the Obsidian editor. Since that repository hasn't been maintained, this repository tries to fill its shoes.


This plugin was generated by create-obsidian-plugin

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.