{"id":14070512,"url":"https://github.com/samwarnick/obsidian-simple-embeds","last_synced_at":"2025-07-30T07:33:46.214Z","repository":{"id":38402474,"uuid":"406165188","full_name":"samwarnick/obsidian-simple-embeds","owner":"samwarnick","description":"A plugin for Obsidian that automatically turns links into embeds.","archived":true,"fork":false,"pushed_at":"2023-09-12T23:28:59.000Z","size":4782,"stargazers_count":164,"open_issues_count":28,"forks_count":20,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-17T22:48:28.035Z","etag":null,"topics":["obsidian-md","obsidian-plugin","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samwarnick.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-14T00:01:18.000Z","updated_at":"2024-05-19T13:19:19.000Z","dependencies_parsed_at":"2023-02-04T16:46:15.856Z","dependency_job_id":null,"html_url":"https://github.com/samwarnick/obsidian-simple-embeds","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":"obsidianmd/obsidian-sample-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwarnick%2Fobsidian-simple-embeds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwarnick%2Fobsidian-simple-embeds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwarnick%2Fobsidian-simple-embeds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samwarnick%2Fobsidian-simple-embeds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samwarnick","download_url":"https://codeload.github.com/samwarnick/obsidian-simple-embeds/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":215155197,"owners_count":15836926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["obsidian-md","obsidian-plugin","typescript"],"created_at":"2024-08-13T07:07:49.324Z","updated_at":"2024-08-13T07:17:14.092Z","avatar_url":"https://github.com/samwarnick.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\r\n**Notice**: This plugin is no longer actively maintained. Feel free to fork and create a new version.\r\n\r\n\r\n# Simple Embeds\r\n\r\nThis [Obsidian](https://obsidian.md) plugin will turn Twitter and YouTube links into embeds when the file is previewed, without changing the contents of your file. Even works when hovering over internal links. \r\n\r\nJust add links like you normally would:\r\n\r\n```md\r\n[Twitter link](https://twitter.com/johnvoorhees/status/1437735225086316548?s=21)\r\n[YouTube link](https://youtu.be/C4sAUc_ZGMY)\r\n```\r\n\r\nIf you would like to disable a particular link, add `|noembed` to the link text. For example:\r\n```md\r\n[Twitter link|noembed](https://twitter.com/johnvoorhees/status/1437735225086316548?s=21)\r\n```\r\n\r\nBy default, most embeds have a max width of 550px (the max width of Twitter embeds). To make an embed full width[^1], add `|fullwidth` to the link text. For example:\r\n\r\n```md\r\n[YouTube link|fullwidth](https://www.youtube.com/watch?v=aqafn8kFDyY)\r\n```\r\n## Supported links\r\n\r\n- Apple Music[^2]\r\n- Apple Podcasts\r\n- Apple TV[^2]\r\n- CodePen\r\n- Flat.io\r\n- Github Gists\r\n- Instagram\r\n- Noteflight\r\n- Twitter\r\n- YouTube\r\n- Reddit\r\n\r\n## Styling\r\n\r\nEach embed is wrapped in a container with the class of `.embed-container` and a class unique to each embed type:\r\n| Embed | Class |\r\n| ------------- | ------------- |\r\n| Apple Music | `.apple-music` |\r\n| Apple Podcasts | `.apple-podcasts` |\r\n| Apple TV | `.apple-tv` |\r\n| CodePen | `.codepen` |\r\n| Flat.io | `.flat_io` |\r\n| GitHub Gists | `.github_gist` |\r\n| Instagram | `.instagram` |\r\n| Noteflight | `.noteflight` |\r\n| Twitter | `.twitter` |\r\n| YouTube | `.youtube` |\r\n| Reddit | `.reddit` |\r\n\r\nYou can use these in your own [CSS snippets](https://help.obsidian.md/How+to/Add+custom+styles#Use+Themes+and+or+CSS+snippets). For example, if you would like to make all YouTube embeds full width, you could add the following:\r\n\r\n```css\r\n.embed-container.youtube {\r\n    max-width: 100%;\r\n} \r\n```\r\n\r\nOr if you want to center all Twitter embeds:\r\n\r\n```css\r\n.embed-container.twitter {\r\n    margin: 0 auto;\r\n}\r\n```\r\n\r\n## Screenshots\r\n\r\n![Simple Embeds demo](https://raw.githubusercontent.com/samwarnick/obsidian-simple-embeds/main/screenshots/demo.gif)\r\n\r\n_Demo_\r\n\r\n![Screenshot of embeds in iOS app](https://raw.githubusercontent.com/samwarnick/obsidian-simple-embeds/main/screenshots/ios.png)\r\n\r\n_iOS app_\r\n\r\n![Screenshot of embeds in Android app](https://raw.githubusercontent.com/samwarnick/obsidian-simple-embeds/main/screenshots/android.png)\r\n\r\n_Android app_\r\n\r\n[^1]: Many themes set a max width on the preview area, often around 750px. Embeds will not be wider than your theme allows.\r\n[^2]: Partial support. Some known issues exist.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamwarnick%2Fobsidian-simple-embeds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamwarnick%2Fobsidian-simple-embeds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamwarnick%2Fobsidian-simple-embeds/lists"}