Hamirdreza Zamanian26 downloadsPreview and create standard Markdown links to headings in Obsidian.
Disclaimer: This plugin is AI-generated.
Add Ctrl/Cmd-hover previews and click navigation for standard Markdown links to headings, including links to other notes. Type # in a link destination to autocomplete headings, copy heading slugs from Reading view, and use commands to copy complete Markdown links.
Markdown heading links such as [Read more](#getting-started) are standard Markdown, but Obsidian does not provide native hover previews for them. This plugin bridges that gap and makes Markdown heading links easier to create.
# after [link text]( and choose a heading.-1, -2, and later suffixes.Given this heading:
## Getting Started
Type the following in Edit mode:
[Read more](#
Important: add a space in the end to activate the suggestions.
Choose a heading such as Getting Started from the suggestions. The plugin inserts:
[Read more](#getting-started)
In Reading view, hover over a heading to reveal its link button and copy the slug. You can also open the Command palette with Ctrl/Cmd+P and search for:
You can also place the cursor on the heading in the writing mode and right click on it and choose one of the copy options that you can find in the command palette as well.
Install the plugin from the Obsidian Community directory: open Settings > Community plugins, search for Markdown Heading Links, and select Install. For manual installation, use the instructions below.
main.js, manifest.json, and styles.css.markdown-heading-links and place all three files directly inside it.markdown-heading-links folder into the plugins folder that just opened.plugins/markdown-heading-links/main.js (not plugins/markdown-heading-links/markdown-heading-links/main.js).Tip: Make sure main.js and manifest.json sit directly inside markdown-heading-links/, not inside another subfolder.
Requires Obsidian 1.5.0 or later.
Markdown Heading Links works locally in your vault. It does not collect telemetry, make network requests, or send your note contents anywhere. When you use a copy feature, it writes the generated slug or Markdown link to the system clipboard. The plugin never reads the clipboard, so existing clipboard content—including content copied from outside Obsidian—is not accessed.
npm install
npm test
npm run build
The production build creates main.js, which is intentionally ignored by Git.
For a release, publish main.js, manifest.json, and styles.css as separate
assets on a GitHub release whose tag exactly matches the version in
manifest.json.