Obsidian plugin to help embed links automatically instead of using iframes
Assuming you have Obsidian downloaded, Download the plugin: https://obsidian.md/plugins?id=auto-embed
https://github.com/user-attachments/assets/def3599a-bac6-4517-83f3-96fc6ba5a815
Uses the same syntax as Obsidian - Embed Web pages. Syntax: 
Auto embeds websites like: Imgur, CodePen, Steam. Full list of supported websites
[!WARNING] Websites with
*means that it has some sort of limitation/note. See Current Limitations & Known Bugs for more info
For unsupported websites, the plugin will embed the whole website and not modify it.
For a list with examples of how the websites look like Supported Websites List.
How to add options:
- In between the square brackets - 
- If you aren't sure which options are available, refer to the table below
| Option | Description | Example Markdown |
|---|---|---|
| noembed | Disables embedding for this link. If possible, try using [](link) instead. Same syntax, just without '!' |
 |
w:value / width:value |
Sets embed's width |  |
h:value / height:value |
Sets embed's height |  |
Uses CSS Units where applicable.
TODO: Add a table that lists all the CSS classes users can override.
A brief overview with some steps on how the plugin works. Not required to use the plugin, just for those who are curious. Certain steps vary depending on whether you're in Reading View or Live Preview. However, the plugin doesn't have any impact when you're in source mode. 1. Search where in the document the syntax is found. - In Reading View:
Searches for the `<img>` tag that's generated by Obsidian when you use this format: ``
- In **Live Preview**:
Searches for `` and gets the [options](#custom-options) and URL from it.
/embed/ somewhere in the url. Results in the same website but focused only on the content. No headers, footer, etchttps://codepen.io/jh3y/pen/LYNZwGm converts to https://codepen.io/jh3y/embed/LYNZwGm?default-tab=result&editable=true
3. Replace those tags with <iframe> and apply options (width, height, dark mode, etc)
4. Some websites like Twitter, Reddit or Imgur, will send a resize message. The plugin uses the info to resize the embed.
Ctrl for websites that aren't embedded using the syntax.[!TIP] Submit any features you want using GitHub Issues or Google Forms (if u aren't comfortable with GitHub) Even if the feature is already listed, just submit it so I'll try to prioritise it.
/s/ instead of /comments/ in the URL) isn't supported. As a workaround, open the link in a browser and Reddit should redirect it to the /comments/ link which is supported.Please send any issues you found!
Are you following this syntax? 
For example: 
3. If it still doesn't work, create a post in Discussions so I can help you
I've just started Obsidian and this is my first plugin.
If you have any questions, feature requests, bugs or anything related to the plugin, feel free to create an issue or submit a Google Form.
Alternatively, you can email me too.
If this plugin helped you and want to support its development, please consider supporting me at Ko-fi
$ claude mcp add obsidian-auto-embed \
-- python -m otcore.mcp_server <graph>