GithubHelp home page GithubHelp logo

go2sun / obsidian-convert-url-to-iframe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fhachez/obsidian-convert-url-to-iframe

0.0 1.0 0.0 17.47 MB

Plugin for Obsidian.md to convert a selected URL to an iframe.

JavaScript 5.62% TypeScript 91.54% CSS 2.84%

obsidian-convert-url-to-iframe's Introduction

Obsidian Plugin: Convert a URL (e.g. YouTube) into an iframe (preview) GitHub tag (Latest by date) GitHub all releases

Transform any URL into a preview.

Demo

  1. Select an url
  2. right click on it (or use the command Convert to Url Preview)
  3. Click on Url to Preview/Iframe. contextual menu

The default hotkey is cmd + alt + i.

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 /.obsidian/plugins.

Change log

0.5.0

  • Always allow full screen for the iframe. In the future it will be an option
  • Enable mobile mode.

0.4.0

  • Instead of doing a custom mapping to embed for YouTube, we now rely on the OEmbed standard. Thanks to https://www.npmjs.com/package/oembed-parser
    • This allows to preserve the timestamp on Youtube and to get default size for many websites.
  • Add contextual menu (right click on a link) contextual menu

0.3.0

  • Simplify the output when using a recent Obsidian download, by leveraging aspect-ratio css.

0.2.0

  • Update: the keybinding from Mode + Shift + I to Alt + I (Issue 4)
  • Only output the app name in the console (Issue 3)
  • Add a aspect Ratio (defaults to 16:9 aspect ratio). (Kankaristo).
  • Make sure the iframe can work without the CSS class. (Kankaristo)
  • Fix the bad resizing when using Sliding Panes Plugin (Issue 1) (Kankaristo)
  • Better user messages and README.md (Kankaristo)
  • Preserve Youtube's timestamp Issue 14
  • Allow full screen iframes Issue 8

0.1.0

First release

Thank you

obsidian-convert-url-to-iframe's People

Contributors

dependabot[bot] avatar fhachez avatar kankaristo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.