All Projects → samwarnick → obsidian-simple-embeds

samwarnick / obsidian-simple-embeds

Licence: MIT license
A plugin for Obsidian that automatically turns links into embeds.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to obsidian-simple-embeds

obsidian-sort-and-permute-lines
Sort and Permute lines in whole file or selection.
Stars: ✭ 25 (-80.92%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-podcast-note
A plugin for the note taking app Obsidian that lets you add podcast meta data to your notes.
Stars: ✭ 24 (-81.68%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-rollover-daily-todos
An obsidian plugin that rolls over todo items from the previous daily note
Stars: ✭ 52 (-60.31%)
Mutual labels:  obsidian-plugin, obsidian-md
MySnippets-Plugin
MySnippets is a plugin that adds a status bar menu allowing the user to quickly manage their snippets within the comfort of their workspace 🖌.
Stars: ✭ 40 (-69.47%)
Mutual labels:  obsidian-plugin, obsidian-md
hotkeysplus-obsidian
Adds hotkeys to toggle todos, ordered/unordered lists and blockquotes in Obsidian
Stars: ✭ 58 (-55.73%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-tweet-to-markdown
An Obsidian.md plugin to save tweets as Markdown files.
Stars: ✭ 35 (-73.28%)
Mutual labels:  obsidian-plugin, obsidian-md
tq-obsidian
Yet another Obsidian task manager
Stars: ✭ 94 (-28.24%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-encrypt
Hide secrets in your Obsidian.md vault
Stars: ✭ 83 (-36.64%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-gist
📒 Gist View for Obsidian(https://obsidian.md)
Stars: ✭ 23 (-82.44%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian42-jump-to-date
Jump to a date via a convenient popup form. This plugin is a part of the Obsidian42 family of Obsidian plugins.
Stars: ✭ 28 (-78.63%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-budget-wysiwyg
Obsidian plugin that automatically switches between preview and source mode.
Stars: ✭ 25 (-80.92%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-readwise
Sync Readwise highlights into your obsidian vault
Stars: ✭ 79 (-39.69%)
Mutual labels:  obsidian-plugin, obsidian-md
oz-clear-unused-images-obsidian
Obsidian plugin to clear the images that are not used in note files anymore
Stars: ✭ 92 (-29.77%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-kanban
Create markdown-backed Kanban boards in Obsidian.
Stars: ✭ 974 (+643.51%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-things-logbook
Sync your Things 3 Logbook with Obsidian
Stars: ✭ 49 (-62.6%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-community-list
📃 • updated list of community themes & plugins for obsidian.md!
Stars: ✭ 16 (-87.79%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-contextual-typography
No description or website provided.
Stars: ✭ 45 (-65.65%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-style-settings
A dynamic user interface for adjusting theme, plugin, and snippet CSS variables within Obsidian
Stars: ✭ 205 (+56.49%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-fullscreen-plugin
No description or website provided.
Stars: ✭ 30 (-77.1%)
Mutual labels:  obsidian-plugin, obsidian-md
obsidian-emoji-toolbar
No description or website provided.
Stars: ✭ 35 (-73.28%)
Mutual labels:  obsidian-plugin, obsidian-md

Simple Embeds

This Obsidian 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.

Just add links like you normally would:

[Twitter link](https://twitter.com/johnvoorhees/status/1437735225086316548?s=21)
[YouTube link](https://youtu.be/C4sAUc_ZGMY)

If you would like to disable a particular link, add |noembed to the link text. For example:

[Twitter link|noembed](https://twitter.com/johnvoorhees/status/1437735225086316548?s=21)

By default, most embeds have a max width of 550px (the max width of Twitter embeds). To make an embed full width1, add |fullwidth to the link text. For example:

[YouTube link|fullwidth](https://www.youtube.com/watch?v=aqafn8kFDyY)

Supported links

  • Apple Music2
  • Apple Podcasts
  • Apple TV2
  • CodePen
  • Flat.io
  • Github Gists
  • Instagram
  • Noteflight
  • Twitter
  • YouTube

Styling

Each embed is wrapped in a container with the class of .embed-container and a class unique to each embed type:

Embed Class
Apple Music .apple-music
Apple Podcasts .apple-podcasts
Apple TV .apple-tv
CodePen .codepen
Flat.io .flat_io
GitHub Gists .github_gist
Instagram .instagram
Noteflight .noteflight
Twitter .twitter
YouTube .youtube

You can use these in your own CSS snippets. For example, if you would like to make all YouTube embeds full width, you could add the following:

.embed-container.youtube {
    max-width: 100%;
} 

Or if you want to center all Twitter embeds:

.embed-container.twitter {
    margin: 0 auto;
}

Screenshots

Simple Embeds demo

Demo

Screenshot of embeds in iOS app

iOS app

Screenshot of embeds in Android app

Android app

Footnotes

  1. Many themes set a max width on the preview area, often around 750px. Embeds will not be wider than your theme allows.

  2. Partial support. Some known issues exist. 2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].