Skip to content

quarto-ext/holder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Holder Extension For Quarto

Quarto extension to create placeholder images (based on https://github.com/imsky/holder).

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

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:

{{< holder 300x300 >}}
{{< holder 300x300 "hello" >}}

You can also include holder.js options (e.g. theme, bg, align, etc.):

{{< holder 300x300 "hello" theme="sky" >}}
{{< holder 300x300 "hello" align="left" >}}

See the documentation on Holder placeholder options for the details and usage of various options.

Examples

This page includes some examples that demonstrate various holder options: https://quarto-ext.github.io/holder/.

About

Quarto extension to create placeholder images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages