https://github.com/zachcp/quarto-swissbiopics
SwissBioPics in Quarto
https://github.com/zachcp/quarto-swissbiopics
Last synced: 15 days ago
JSON representation
SwissBioPics in Quarto
- Host: GitHub
- URL: https://github.com/zachcp/quarto-swissbiopics
- Owner: zachcp
- Created: 2022-12-12T13:55:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-28T17:41:02.000Z (over 3 years ago)
- Last Synced: 2026-03-29T17:25:16.264Z (3 months ago)
- Language: JavaScript
- Homepage: https://zachcp.github.io/quarto-swissbiopics/
- Size: 7.85 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swissbiopics Extension For Quarto
Embed [Swissbiopics](https://www.swissbiopics.org/) in Quarto documents.
**Note: this works but is still in alpha state.**
**Note: this is only available for html formats.**
## Installing
```bash
quarto add zachcp/swissbiopics
```
This will install the extension under the `_extensions` subdirectory.
If you're using version control, you will want to check in this directory.
## Using
You can use the `{{< sbp >}}` shortcode to add a SwissBioPics image to your quarto document. You will need to specify the name of one of the images which can be found in `_extensions/swissbiopics/resources/images`. For example:
```md
{{< sbp Animal_cells >}}
{{< sbp Egg_cell >}}
{{< sbp Trypanosoma >}}
```
## Build
Copy the `_extensions` directory to `docs` and build.