@thecryptodiver/gitbook-plugin-noembed

0.1.2 • Public • Published

Gitbook plugin Noembed

Get any video or iframe card supported by Noembed. (Vimeo, YouTube, Facebook, Twitter, Instagram, etc)

If the sites you need to embed are not supported by Noembed, you can try gitbook-plugin-iframely. They claim to support 1,800+ sites but you need at least a free account to get an API key.

Installation

Add "noembed" to your plugins in book.json.

{
  "plugins": ["noembed"]
}

Usage

  • You can use two filters: noembed or video. (At the moment they both do exactly the same)
  • Make sure you wrap your URL around single or double quotes.
{{ 'https://vimeo.com/31942602' | noembed }}

or

{{ 'https://vimeo.com/31942602' | video }}

Package Sidebar

Install

npm i @thecryptodiver/gitbook-plugin-noembed

Weekly Downloads

1

Version

0.1.2

License

Apache-2.0

Unpacked Size

5.04 kB

Total Files

5

Last publish

Collaborators

  • thecryptodiver