A Quarto shortcode extension to embed interactive Leaflet maps in HTML and revealjs formats.
Features
- πΊοΈ Interactive maps with OpenStreetMap tiles (or any custom tile provider)
- π Markers with popups, tooltips, and custom icons
- π¨ Font Awesome and custom image icon support for markers
- π§ Arbitrary Leaflet options passthrough β any
L.map()option just works - π Two input modes: YAML metadata or inline shortcode arguments
Install
Requires Quarto >= 1.4.0
In the root of the quarto project, run in terminal:
quarto add royfrancis/quarto-leaflet
This will install the extension under the _extensions subdirectory. See the Usage page for details. See the repo README for full list of arguments.