Easily add iframes

Homepage

Iframes are small interactive snippets of other website or local html files added to a page. These iframes allow you to add any interactive web content to your book. Adding iframes could already be done by adding raw html code, however, issues would easily arise when resizing the iframes or in dark mode. Therefore, Dennis den Ouden-van der Horst created a sphinx extension which deals with this.

This extension:

  • Simplifies the syntax for adding iframes
  • Converts the iframe properly in dark mode
  • Allows a transparent iframe background
  • Has custom made options for videos and H5p elements
  • Eases adding custom CSS styling

This extension is released on GitHub and it’s documentation can also be found in the manual, including some examples!

Scroll to Top