Load content
This plugin allows to load content of an HTML element from a file.
Setup
To use the plugin include
<!-- Load content plugin --> |
to the header of your presentation and configure reveal.js and the plugin by
Reveal.initialize({ |
Usage
Simply add a data-load attribute with the filename to a <div> element, to load the file and add the content into to the <div>.
<div data-load="graphics.svg"> |
License
MIT licensed
Copyright © 2023 Asvin Goel