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

Syrup

tinnyterrtinnyterr24 downloads

Run and highlight Syrup circuit code blocks, with circuit diagrams.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

This plugin provides syntax highlighting and execution of the syrup and ask languages. Specifically for the CS103 and CS106 classes at Strathclyde University.

Language Syntax highlighting Execution Hidden Code
Syrup Supported fully, using syrup Supported, using syrup-compute Supported, using syrup-compute-add or the inverse syrup-add-compute
Ask Supported, using ask Unsupported at this time Also unsupported at this time

Install

  1. Download main.js, manifest.json and styles.css from the latest release.
  2. Put them in <your vault>/.obsidian/plugins/syrup/ (create the folder if it isn't there).
  3. In Obsidian, go to Settings → Community plugins, turn off Restricted mode if it's on, and enable Syrup.

To check a release came from this repo's build, run gh attestation verify main.js --repo TinnyTerr/syrup-obsidian.

Use

Fence a block with one of these languages:

```syrup
-- highlighted only
```

```syrup-compute
-- highlighted, and the output is shown below
```

```syrup-add
-- highlighted, and fed to the note's shared file, no output
```

```syrup-compute-add
-- as syrup-compute, and fed to the shared file
```

```ask
-- highlighted only
```

Blocks in a note run in order and share one file, so a syrup-compute block can use anything defined in the -add blocks above it. Wrap a block in %% ... %% to hide it while still feeding the shared file.

Syrup

Currently, the js implementation of syrup found here is compiled in the release step of this plugin, and its source cannot be found here. However, its development, however faithful to the language, is still incomplete, and therefore any results from its response to code should be at least taken with a grain of salt.

Ask

Ask has no js implementation, and it will be worked on once syrup is complete. This also means I have no timeline for when this will be complete, and will be added in due course.

HealthExcellent
ReviewPassed
Details
Current version
0.4.0
Last updated
2 days ago
Created
Last week
Updates
4 releases
Downloads
24
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
GPL-3.0
Report bugRequest featureReport plugin
Author
tinnyterrtinnyterr
GitHubtinnyterr
  1. Community
  2. Plugins
  3. Syrup

Related plugins

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Minimal Theme Settings

Control the colors and fonts in Minimal Theme.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Admonition

Admonition block-styled content.

BRAT

Easily install a beta version of a plugin for testing.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Templater

Create and use dynamic templates.