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

Inline Context

Mohamed SalehMohamed Saleh97 downloads

Extend Markdown capabilities by adding inline fold, encapsulate text anywhere in the note, create spoilers, even flashcards for active recall.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates6

Attach translations, definitions, and other context to ordinary text in Obsidian. A context item can either replace its text inline when activated or show its additional text in a popup.

Example

Create a Translation context on bonjour with the detail hello:

[translation::bonjour|hello]

The delimiters are fixed implementation details. Inline Context hides them in the normal editing and reading experience where safe, while the Markdown file keeps a readable, portable representation.

Modes

  • Replace inline — the original text is replaced by the attached text on hover or click, according to the interaction setting.
  • Show popup — the original text remains in place and the attached text appears in a floating popup.

Commands

Use the command palette to:

  • Add context to selected text or the word under the cursor
  • Edit context at the cursor
  • Remove context while keeping the visible text
  • Delete context and its contents
  • Change an item's context type
  • Normalize older context markers to readable type names
  • Reveal or hide all replacing contexts
  • Jump to the next or previous context
  • Start a context review

Context types

Context types provide presentation and organization only. Each type can have its own mode, shared style preset, icon, and visual treatment. Built-in styles include Ghost, Pill, Bracket, Underline, and Badge. You can create reusable custom styles once in Settings and apply them to multiple context types. The attached text remains a free-form textbox, so a Translation type does not need hard-coded language, pronunciation, or example fields.

Current scope

The core experience focuses on context creation, editing, removal, natural cursor movement, inline replacement, and popup display. Flashcard scheduling, vault-wide search, shared definitions, and other larger learning features are planned separately.

Development

npm install
npm run build
npm run typecheck
npm test

Requires Obsidian 1.13.0 or newer. The plugin keeps its existing manifest ID (inline-fold) so users can upgrade without losing plugin data.

License

MIT

HealthExcellent
ReviewSatisfactory
About
Preserve high-level summaries and hide dense details inline to keep notes clean and readable. Embed collapsible text, code, translations, or side‑notes inside sentences and style them with Pill, Ghost, or Bracket archetypes or micro‑settings for borders, padding, fonts and colors.
FormattingAppearanceInterface
Details
Current version
3.1.0
Last updated
2 days ago
Created
3 months ago
Updates
6 releases
Downloads
97
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Mohamed SalehMohamed Salehmohamedsaleh0-0
GitHubmohamedsaleh0-0
  1. Community
  2. Plugins
  3. Formatting
  4. Inline Context

Related plugins

Note Toolbar

Add customizable toolbars to your notes.

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Zen Mode

Hide most UI elements.

Better Bullets

Improves readability of bulleted notes.

Minimal Theme Settings

Control the colors and fonts in Minimal Theme.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Supercharged Links

Add attributes to internal links with the values of target note's frontmatter attributes.

Admonition

Admonition block-styled content.

Hider

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