Inline Embed Editor · Obsidian plugin documentation
Inline Embed Editor documentation

Inline Embed Editor lets you edit embedded notes, headings, and blocks directly inside your active document. When you assemble a project brief, chapter, or weekly summary from transcluded sections (![[Note]], ![[Note#Heading]], ![[Note#^block-id]]), you can update the source text right where you read it without opening another tab.
Version 1.0.0. Requires Obsidian 1.13.4 or later. Works on desktop and mobile.
1 Installation
- Open "Settings → Community plugins" and turn off restricted mode.
- Select "Browse", search for "Inline Embed Editor", then select "Install" and "Enable".
To install manually, copy main.js, manifest.json, and styles.css from the latest release into <vault>/.obsidian/plugins/inline-embed-editor/. Then enable the plugin in Settings. You need Obsidian 1.13.4 or later.
2 Getting started
Open any note that embeds Markdown notes, headings, or blocks:
![[Architecture#Overview]]
![[Milestones#^ship-date]]
![[Risk Log]]
Click "Edit in place" on the embed toolbar in Reading view or on the pill in Live Preview, or run "Edit embedded note at cursor" from the command palette. Edit the source slice and select "Save to source". Changes write back atomically through vault.process.
Open any Markdown note containing transclusions:
- In Reading view, click "Edit in place" on a rendered Markdown embed to open the inline editor panel inside the embed.
- In Live Preview, click "Edit in place" on the pill below a Markdown embed (it hides when your cursor touches that line or in Source mode).
- Run "Edit embedded note at cursor", "Choose embedded note to edit", "Toggle inline embed edit buttons", "What Pro adds", or "Upgrade to Pro".
- With Pro, run "Edit all embeds in active note", "Extract selection to embed", or "Undo last embed edit".
Non-Markdown embeds such as images, PDFs, audio, video, and Canvas files are ignored.
3 Features
Edit full notes, headings, and blocks in place
Reading a master document built from transclusions often exposes a typo or outdated date in an embedded source. Inline Embed Editor places an "Edit in place" button on each Markdown embed in Reading view and Live Preview. In Reading view, clicking it opens an inline editor panel inside the embed container. In Live Preview or from the command palette, it opens a focused editor pre-filled with the exact slice.
Atomic saves with external conflict detection
Every save runs through vault.process so concurrent writes never corrupt your notes. Before writing, the plugin locates the target heading or block in the latest source file and checks whether the slice changed externally while your editor was open. If another tab or sync tool changed that section, the save stops and offers "Reload latest source" or "Force overwrite". Sibling headings, frontmatter, and CRLF or LF endings stay untouched.
Heading and block boundary preservation
When you edit ![[Note#Heading]], the plugin slices only up to the next heading of equal or higher level and ignores # markers inside fenced code blocks. When you edit ![[Note#^block-id]], it captures the full paragraph, list item with children, blockquote, table, or fenced block. If you accidentally delete the trailing ^block-id, boundary preservation re-attaches it so your transclusion stays valid.
Multi-embed batch outline editor (Pro)
Run "Edit all embeds in active note" to open every resolved Markdown embed in document order inside one unified outline view. You can revise sections across multiple source files, inspect per-embed diffs, and write every modified file atomically in one pass.
Diff preview, multi-file undo, and extract to embed (Pro)
Toggle "Preview diff" inside any single-embed or batch editor to inspect side-by-side line changes before writing. Run "Undo last embed edit" to revert the most recent single or multi-file save across all touched source notes with conflict checks. Select any text and run "Extract selection to embed" to create a new Markdown note and replace the selection with ![[New Note]] or ![[New Note#^block-id]].
4 Commands
Open the command palette and type the plugin name to see these commands. You can give each one a hotkey in Settings, Hotkeys.
| Command | Command id |
|---|---|
| Edit embedded note at cursor | inline-embed-editor:edit-embed-at-cursor |
| Choose embedded note to edit | inline-embed-editor:pick-embed-to-edit |
| Edit all embeds in active note | inline-embed-editor:batch-edit-embeds |
| Extract selection to embed | inline-embed-editor:extract-selection-to-embed |
| Undo last embed edit | inline-embed-editor:undo-last-embed-edit |
| Toggle inline embed edit buttons | inline-embed-editor:toggle-inline-buttons |
| Upgrade to Pro | inline-embed-editor:upgrade-to-pro |
5 Settings
After a minor or major update, this plugin opens one What's new tab in the background. The tab and settings card suggest other NoteMods plugins and Zovo Chat and link to notemods.com for feedback (privacy). The tab sends no data. Turn the tab off in Settings.
| Setting | What it does |
|---|---|
| Show edit buttons in Live Preview | Shows an Edit in place pill below Markdown embeds in Live Preview. |
| Show edit buttons in Reading view | Shows an Edit in place button inside Markdown embeds in Reading view. |
| Preserve heading and block boundaries | Keeps ^block-id anchors attached and warns on heading level changes. |
| Diff context lines | Sets unchanged surrounding lines in Pro diff previews (1, 3, or 5). |
| Show status bar shortcut | Shows a status bar launcher and undo count on desktop. |
6 Pro
Run "What Pro adds" to preview each paid feature on sample transclusions before sponsoring.
- Multi-embed batch outline editor for revising every embed in one document sequentially.
- Pre-save side-by-side diff previews with heading and block boundary guards.
- One-click atomic undo across all source files touched by the last save.
- Extract selection to embed to spin off reusable notes in one step.
Sponsor $5 a month, or $15 once. When you have paid $15 in total, Pro stays on.
To sign in and enable Pro:
- Sponsor via GitHub Sponsors. A total payment of $15 meets the payment requirement for Pro without further payment. Sign-in and the checks below still apply.
- In Obsidian, open the settings of Inline Embed Editor and select "Sign in with GitHub".
- The plugin copies a code and opens github.com/login/device. Paste the code there and approve.
If you sponsor after signing in, select Refresh.
7 Privacy, payment and network
The core features are free. Pro features need a GitHub Sponsors sponsorship of theluckystrike: $5 a month or more, or $15 once. A total payment of $15 meets the payment requirement for Pro without further payment. Sign-in and the checks below still apply. Your notes stay readable and editable with or without Pro.
One payment turns on Pro in every NoteMods plugin.
GitHub handles the payment. Sponsor at https://github.com/sponsors/theluckystrike/sponsorships?tier_id=666162&frequency=one-time&metadata_source=inline-embed-editor. You need no account for the free features. Pro needs the GitHub account that sponsors.
Until you select "Sign in with GitHub" in the settings, Inline Embed Editor makes no network requests. Sign in uses the GitHub device flow. Inline Embed Editor sends its public client ID and the scope read:user to https://github.com/login/device/code and shows you a code. While you enter the code at https://github.com/login/device, it asks https://github.com/login/oauth/access_token every few seconds to check the sign-in status. The scope permits profile reads only. GitHub needs this access to show the sponsorship tier. It grants no repository scope and no write access.
After sign in, Inline Embed Editor sends one query to https://api.github.com/graphql. It checks if the signed-in account sponsors theluckystrike. It asks for the tier and the total payment to theluckystrike. The plugin reuses a successful check for 7 days. Failed checks can retry after 6 hours. Select Refresh to request an earlier check. It sends no note content, file names or other vault data, and it has no telemetry.
After a successful check, Pro can work offline for up to 14 days. Sign out or a negative sponsorship answer turns Pro off. The plugin stores the GitHub token through the secret storage API of Obsidian. It does not put the token in its saved settings or its local sponsorship data. The local storage of this device keeps your GitHub login, the tier and the time of the last check. Sign out clears the token. You can also revoke the access in your GitHub settings, under Applications.
8 Questions and answers
Does this plugin modify my master note when I edit an embed?
No. Editing an embed writes only to the embedded source file. Your master document stays untouched unless you run "Extract selection to embed".
What happens if the source file changed while I was editing?
Before writing through vault.process, the plugin compares the current target slice with the snapshot taken when you opened the editor. If they differ, the write stops and a conflict banner lets you reload the latest source or force an overwrite.
Will editing a block embed break the block ID?
When "Preserve heading and block boundaries" is on, the plugin checks for ^block-id before saving and re-attaches it if removed.
Does it support nested headings like ![[Note#Parent#Child]]?
Yes. The slicer resolves nested heading paths and stops at the next heading of equal or higher level, ignoring # inside fenced code blocks.
Does it work on mobile?
Yes. It uses standard Obsidian and CodeMirror APIs and works on desktop and mobile vaults.
9 Support
Plugin page: inline-embed-editor.
Report bugs and ask for features in the GitHub issues of this repository. Include your Obsidian version and a short sample note.