mattmarotta666 downloadsNon-destructive link preview and enrichment. Automatically displays rich metadata previews for URLs - shows page titles, descriptions, and favicons inline without modifying your markdown source.
Non-destructive link previews for Obsidian.
URL Enricher shows the title, description, and favicon for URLs in your notes without changing the markdown underneath. The source file keeps the plain URL; only the rendered view changes.


Install the plugin, then open a note in Live Preview and paste a URL. Previews appear once the page metadata loads.
Global settings live under Settings > URL Enricher. Any note can override them with frontmatter, which must start on line 1:
---
preview-style: card # inline | card
max-card-length: 400 # 1-5000 (recommended: 100+)
max-inline-length: 200 # 1-5000 (recommended: 50+)
show-favicon: true # true | false
include-description: true # true | false
inline-color-mode: subtle # none | subtle
card-color-mode: subtle # none | subtle
---
Inline (compact)

Flows with the surrounding text and hides the raw URL. Best for reading.
Card (detailed)

A block layout showing the description and site name. Best for bookmarks and research notes.
To set your own preview colors, use an Obsidian CSS snippet.
url-enricher-colors.css:/* Inline preview background */
.url-preview--inline {
background: #4a90e2 !important;
}
/* Card preview background */
.url-preview--card {
background: #50c878 !important;
}
https://github.com # Bare URL
[custom text](https://github.com) # Markdown link
[](https://github.com) # Empty link text
[[https://github.com]] # Wikilink (URLs only)
Not supported: image embeds , URLs inside code blocks, and non-HTTP protocols.
Previews not showing
https://example.com.Frontmatter not applying
---.preview-style rather than previewstyle.Stale or incorrect previews
Slow performance
Warning icon next to a URL
Some sites block automated requests and return an HTTP error. To hide these warnings, set Settings > URL Enricher > HTTP error warnings to off.
For anything else, see TROUBLESHOOTING.md.
Some sites need extra work to produce a useful preview:
old.reddit.com, because the main site serves a bot challenge page instead of metadata to non-browser clients.The plugin makes network requests to build previews:
It does not collect telemetry, analytics, or any user data. Requests are only made for public pages you have linked to, results are cached locally in your vault's plugin folder, and you control which URLs are processed.
npm install # Install dependencies
npm run dev # Watch mode
npm run build # Production build
npm run lint # Run ESLint (enforces Obsidian plugin guidelines)
npm test # Run the test suite
See CONTRIBUTING.md for the full development guide, including the release process.
Contributions are welcome. CONTRIBUTING.md covers development setup, code standards, the release checklist, and common pitfalls.
MIT. See LICENSE.