No description
Find a file
polygonhunter fd03553b29 0.1.3 — new pterosaur mascot logo
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 15:01:01 +02:00
icons New pterosaur mascot logo 2026-07-17 14:59:23 +02:00
src 0.1.2 — replace obsidian's moment re-export with a pure date formatter (#2) 2026-07-17 13:12:03 +02:00
test-vault Slashosaurus 0.1.0 — Notion-style slash menu with live block previews 2026-07-17 09:44:12 +00:00
tests 0.1.2 — replace obsidian's moment re-export with a pure date formatter (#2) 2026-07-17 13:12:03 +02:00
.gitignore Slashosaurus 0.1.0 — Notion-style slash menu with live block previews 2026-07-17 09:44:12 +00:00
CONTRIBUTING.md Slashosaurus 0.1.0 — Notion-style slash menu with live block previews 2026-07-17 09:44:12 +00:00
esbuild.config.mjs Slashosaurus 0.1.0 — Notion-style slash menu with live block previews 2026-07-17 09:44:12 +00:00
LICENSE Slashosaurus 0.1.0 — Notion-style slash menu with live block previews 2026-07-17 09:44:12 +00:00
manifest.json 0.1.3 — new pterosaur mascot logo 2026-07-17 15:01:01 +02:00
package-lock.json 0.1.3 — new pterosaur mascot logo 2026-07-17 15:01:01 +02:00
package.json 0.1.3 — new pterosaur mascot logo 2026-07-17 15:01:01 +02:00
README.md Slashosaurus 0.1.0 — Notion-style slash menu with live block previews 2026-07-17 09:44:12 +00:00
styles.css Slashosaurus 0.1.0 — Notion-style slash menu with live block previews 2026-07-17 09:44:12 +00:00
tsconfig.json Slashosaurus 0.1.0 — Notion-style slash menu with live block previews 2026-07-17 09:44:12 +00:00
version-bump.mjs Slashosaurus 0.1.0 — Notion-style slash menu with live block previews 2026-07-17 09:44:12 +00:00
versions.json 0.1.3 — new pterosaur mascot logo 2026-07-17 15:01:01 +02:00

Slashosaurus

Slashosaurus

See the block before you insert it.

Slashosaurus is a Notion-style slash menu for Obsidian. Type / and a small glass panel appears right at your cursor: headings shown in their real sizes, callouts as actual colored boxes with their icons, code and math with their look — every entry previews what it creates, in your theme's own colors. Keep typing to filter (/wa → Warning, /h2 → Heading 2, /tab → Table), hit Enter, keep writing.

I built Slashosaurus because I could never remember callout syntax. Is it [!warning] or [!warn]? What was the folded variant again? Which types exist at all? A menu that only lists names doesn't fix that — I'd still have to know what "abstract" looks like. So the menu shows the boxes themselves. You pick the color you mean, not the word you half-remember.

Slashosaurus is the fourth plugin in the -osaurus family, next to Linkosaurus, Scalosaurus, and Searchosaurus. If something feels off or you have an idea, open an issue on GitHub; I read everything.

What it looks like

You type The menu shows
/ Everything, grouped: Text · Callouts · Insert · Snippets
/wa Warning — as an orange box with its icon, before you insert it
/h2 Heading 2, drawn in heading-2 size
/tab Table — a tiny grid preview
/tldr Abstract callout (aliases work too)
/code Code block — Enter, then pick the language in the same popup

Highlights

  • Live previews — callouts appear as real colored mini-boxes (all 13 types, folded variants included), headings in their sizes, quotes as quotes, code in monospace. Your theme's colors, light and dark.
  • Wraps your selection — select a paragraph, type /, pick Quote or a callout: the text is wrapped, not replaced. Multi-line selections get proper prefixes, code selections land inside the fence.
  • Smart insert — the typed /query vanishes without a trace and the cursor lands where writing continues: inside the callout body, in the first table cell, on the empty line of the code block.
  • Two-stage code block — choose Code block, then pick from ~40 languages in the same popup. Esc inserts a plain fence.
  • Your own snippets — add blocks in the settings (name + template, {cursor} marks the writing position) and they join the menu as their own group.
  • Radically clean — a floating glass panel with a gliding selection pill. It appears, delivers, disappears. No toolbar, no chrome.

The keyboard layer

Key Does
Insert the block
⇧↵ Insert a callout folded (> [!note]-)
/ Move the selection pill
esc Dismiss (in the language picker: insert without a language)
just type Fuzzy-filter the list

The catalog

Headings 13 · bulleted, numbered and to-do lists · quote · divider · all 13 callout types (note, abstract, info, todo, tip, success, question, warning, failure, danger, bug, example, quote — each also foldable) · code block with language picker · table · math block · Mermaid diagram · comment · internal link · embed · today's date · footnote (marker at the cursor, definition appended at the end) · plus every snippet you define.

Setup

Install, enable, type /. Two things worth knowing:

  • Obsidian's core "Slash commands" plugin also opens a menu on /. Disable it under Settings → Core plugins — or give Slashosaurus a different trigger character in its settings; both menus side by side is chaos nobody needs.
  • The trigger only fires at the start of a line or after a space, so URLs and file paths never open the menu.

Privacy

Slashosaurus runs entirely offline. It makes zero network requests, collects nothing, and stores nothing outside your vault's plugin settings.

Roadmap

  • Recently-used blocks bubbling up when the query is empty
  • Per-snippet icons and aliases
  • More block types where a preview genuinely helps

Contributing

See CONTRIBUTING.md. The short version: src/core/ stays pure and tested, the UI stays radically clean.


Inspired by the many slash-command plugins that came before it — built from scratch anyway, because the previews were the point.

MIT © polygonhunter