https://github.com/quarto-ext/holder
Quarto extension to create placeholder images
https://github.com/quarto-ext/holder
Last synced: about 1 year ago
JSON representation
Quarto extension to create placeholder images
- Host: GitHub
- URL: https://github.com/quarto-ext/holder
- Owner: quarto-ext
- Created: 2023-10-16T17:19:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-27T09:23:53.000Z (about 2 years ago)
- Last Synced: 2025-04-15T15:04:47.682Z (about 1 year ago)
- Language: Lua
- Homepage: https://quarto-ext.github.io/holder/
- Size: 301 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Holder Extension For Quarto
Quarto extension to create placeholder images (based on ).
> Quarto 1.5 will include a built in placeholder shortcode which should work in most output format: https://prerelease.quarto.org/docs/authoring/placeholder.html
## Installing
```bash
quarto add quarto-ext/holder
```
This will install the extension under the `_extensions` subdirectory.
If you're using version control, you will want to check in this directory.
## Using
Specify a size and optionally text for the placeholder as follows:
```markdown
{{< holder 300x300 >}}
{{< holder 300x300 "hello" >}}
```
You can also include holder.js options (e.g. `theme`, `bg`, `align`, etc.):
```markdown
{{< holder 300x300 "hello" theme="sky" >}}
{{< holder 300x300 "hello" align="left" >}}
```
See the documentation on Holder [placeholder options](https://github.com/imsky/holder#placeholder-options) for the details and usage of various options.
## Examples
This page includes some examples that demonstrate various holder options: .