![]() ![]() If you want to develop new plugins, check out the Quarto Reveal extensions listed above as well as the code of other 3rd party Reveal Plugins. Here is a list of existing 3rd party plugins for Revealjs that you might consider packaging as Quarto extensions. ![]() You can develop either entirely new Revealjs plugins from scratch or you can package existing Revealjs extensions as described above. You can see the full source code of the Quarto version here: (we’ll also walk through the code in detail below). None of those files are actually installed by end users (rather only the contents of the _extensions directory is installed). Note that the LICENSE and README.md are standard documentation files and the example.qmd is used for development and documentation of the extension. LICENSE README.md example.qmd _extensions/ attribution/ _extension.yml attribution.js attribution.css ![]() To get started, execute quarto create extension revealjs-plugin within the parent directory where you’d like the plugin extension to be created: If you are using VS Code or RStudio you should execute quarto create within their repsective integrated Terminal panes. We’ll use the quarto create command to do this. Here we’ll describe how to create a simple Revealjs plugin extension. Here are some examples of Revealjs plugins packaged as Quarto extensions: ExtensionĪdds support for switching the cursor to a ‘pointer’ style element while presenting.ĭisplay attribution text along the right edge of slides. The Reveal Plugin API is very rich, and many of the built-in capabilities of Quarto Revealjs presentations are implemented as plugins, including Menu, Chalkboard, and PDF Export. Revealjs plugins enable you to extend the capabilities of HTML presentations created with Revealjs. Many extensions are also likely to require Quarto v1.2. If you are using or developing extensions you should update to Quarto v1.2, which includes significant improvements to the extension API.
0 Comments
Leave a Reply. |