Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Embedding YouTube videos

We can use the Embedify preprocessor to embed YouTube videos.

We need to install Emebdify, add the following line to the book.toml file

[preprocessor.embedify]

and then we can embed youtube videos in the pages by adding a line where you'd include the ID of the YouTube video.

{% embed youtube id="YOUTUBE-ID" %}

See and example here: