generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Floran Hachez
committed
Nov 7, 2020
1 parent
59fc39b
commit 8fed41c
Showing
4 changed files
with
9 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
# Obsidian Plugin: Convert an url (ex, youtube) into an iframe (preview) | ||
**Transform an youtube url into a youtube preview.** | ||
|
||
![Demo](images/demo-url-to-preview-2.gif) | ||
|
||
Transform a selected url to an embed view if the website allows it. It offers the possibilitiy to resize the preview. | ||
|
||
The default hotkey is `cmd + shift + i`. | ||
|
||
### Manually installing the plugin | ||
|
||
- Copy over `main.js`, `styles.css`, `manifest.json` to your vault `VaultFolder/.obsidian/plugins/your-plugin-id/`. | ||
|
||
# Installation | ||
Support for 3rd party plugins is enabled in settings (Obsidian > Settings > Third Party plugin > Safe mode - OFF) | ||
To install this plugin, download zip archive from GitHub releases page. Extract the archive into <vault>/.obsidian/plugins. | ||
|
||
|
||
### API Documentation | ||
|
||
See https://github.com/obsidianmd/obsidian-api | ||
# Future improvement | ||
- Find a way to detect when the website doesn't allow cross origins. | ||
- Support more websites. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.