mcanouil / quarto-elevator

Elevator.js extension for Quarto

Home Page:https://m.canouil.dev/quarto-elevator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elevator.js Extension for Quarto

This extension provides support and shortcode to Elevator.js.
Animation is only available for HTML-based documents.

Installing

quarto add mcanouil/quarto-elevator

This will install the extension under the _extensions subdirectory.
If you're using version control, you will want to check in this directory.

Using

To add an elevator button, use the {{< elevator >}} shortcode. For example:

  • Mandatory:

    {{< elevator >}}
  • Optional <text-button>, <anchor-target>, and <audio=audio.mp3>:

    {{< elevator <text-button> <anchor-target> <audio=audio.mp3> >}}

Example

Here is the source code for a minimal example: example.qmd.

This is the output of example.qmd for HTML.


BossaBossa by Kevin MacLeod | https://incompetech.com/.
Music promoted by https://www.chosic.com/free-music/all/. Creative Commons Creative Commons: By Attribution 3.0 License (http://creativecommons.org/licenses/by/3.0/).

Elevator.js by Tim Holman under MIT License.

About

Elevator.js extension for Quarto

https://m.canouil.dev/quarto-elevator/

License:MIT License


Languages

Language:Lua 100.0%