Skip to content

Commit

Permalink
Add example to figure include
Browse files Browse the repository at this point in the history
  • Loading branch information
dcnb authored Oct 8, 2024
1 parent 9d23fb1 commit 7213ad8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _includes/figure.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% comment %}

Figure include adds an image marked up using bootstrap, https://getbootstrap.com/docs/5.1/content/figures/

e.g. --> {% include figure.html img="uidaho-workshop.jpg" alt="workshop scene" caption="Library workshops!" width="75%" %}

Options:
- "img" = the filename of the image located in the /images/ folder of your repository, or full url to external image
- "alt" = description of the image contents for the alt text
Expand Down

0 comments on commit 7213ad8

Please sign in to comment.