Toggle

by jawoojo
5
4
3
2
1
Score: 35/100

Description

This plugin has not been manually reviewed by Obsidian staff. A premium, Notion-style toggle plugin with enhanced styling and deep nesting support.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
1
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Obsidian Toggle Plugin

A premium, Notion-style toggle plugin for Obsidian. The |> syntax is automatically rendered as a clickable triangle icon (▶), allowing you to fold and unfold content with a single click.

Features

  • Notion-Style Toggles: Use |> and <| to create toggle blocks.
  • Scoped Folding: Headers placed inside a toggle will fold content only within that toggle block. This keeps your document clean without breaking the global outline hierarchy.
  • Code Block Toggles: Use ```> syntax to make code blocks collapsible.
  • Copy: Hover over the title line to reveal a "Copy" button for quick sharing.
  • Native Integration: Built on top of Obsidian's core folding engine, ensuring native performance and compatibility.

Usage

Basic Toggle

|> Title
Content...
<|

Header Toggle

You can use a standard Markdown header as the title of your toggle. It functions exactly like a normal toggle but applies the header's styling (font size, weight, etc.) to the title line.

|> # My Styled Header
This content is folded inside the toggle.
The header creates a visual section but remains part of the toggle logic.
<|

Code Block Toggle

Add a > after the opening code fence to create a collapsible code block.

  • Syntax: \``> or ```javascript > `.
\`\`\`javascript >
console.log("Toggleable Code");
\`\`\`

Support

If you find this plugin helpful, consider buying me a coffee!

License

MIT