honkit-plugin-youtube

0.0.14 • Public • Published

HonKit plugin: youtube

Link to a YouTube video in HonKit.

Installation

Install via npm:

npm install honkit-plugin-youtube --save-dev

Add the plugin to your book.json:

{
    plugins: [ "youtube" ]
}

Usage

Link to a YouTube video as follows:

{% youtube id="video_id", title="video_title" %}{% endyoutube %}

Here is an example:

{% youtube id="p3G5IXn0K7A", title="The Hamsterdance Song" %}{% endyoutube %}

The video title might have double quotation marks. You should backslash escape each double quotation mark as follows:

{% youtube id="p3G5IXn0K7A", title="The \"Hamsterdance\" Song" %}{% endyoutube %}

Readme

Keywords

Package Sidebar

Install

npm i honkit-plugin-youtube

Weekly Downloads

4

Version

0.0.14

License

Apache-2.0

Unpacked Size

14.3 kB

Total Files

4

Last publish

Collaborators

  • quacksouls