Junyoung Bang1 downloadsCompact context blocks for supplementary information in Markdown notes.
Supporting details, without interrupting your notes.
Turn supplementary information into compact, title-free blocks in Obsidian. Keep your links, lists and code, with less space around them.
Actual Obsidian rendering · Default settings · Light and dark themes
Light preview · Dark preview
| Compact by default | Native Markdown | Your theme |
|---|---|---|
| Equal padding and text at 90% of the note size. | Links, lists and code in Reading view and Live Preview. | Colors follow Obsidian, with adjustable background and border strength. |
> [!context]
> Linux Namespace와는 다른 수준의 개념임을 명시하자.
Use the existing callout syntax. The plugin handles the compact appearance; your note stays plain Markdown.
Both commands use one editor transaction and support Undo/Redo. Assign shortcuts under Settings → Hotkeys.
Wrapping rejects existing blockquotes, frontmatter, fenced code and indented code. Use a plain > [!context] header for blocks you want to unwrap with the command. Source mode retains normal Markdown syntax.
Under Settings → Context Block, configure:
| Setting | Default | Range |
|---|---|---|
| Text size | 90% of note text | 75–100% |
| Padding | 10px on all sides | 4–24px |
| Background strength | 4% | 0–12% |
| Border strength | 12% | 0–30% |
Colors follow the active theme. Changes apply immediately and persist across restarts. Reset to defaults restores the appearance. Other callout types keep their existing styles.
Disabling the plugin leaves valid callout Markdown in the note. Obsidian then renders it as a regular callout.
Requires Obsidian 1.8.9 or newer.
npm install and npm run build.<Vault>/.obsidian/plugins/context-block/.main.js, manifest.json, and styles.css into that folder.npm run dev: watch and rebuild.npm run build: type check and production bundle.npm run lint: lint.npm test: document transformation regression tests.No network requests, telemetry or external services are used by the plugin. The implementation uses browser-compatible APIs; actual iOS/Android device testing has not been performed.
Based on the official Obsidian sample plugin.