ux: update for bootstrap figure classes
This commit is contained in:
@ -10,6 +10,52 @@ images: ["say-hello-to-doks.png"]
|
||||
contributors: ["Henk Verlinde"]
|
||||
---
|
||||
|
||||

|
||||
## Remote gif
|
||||
|
||||
```md
|
||||

|
||||
```
|
||||
|
||||

|
||||
|
||||
## Image in page bundle
|
||||
|
||||
```bash
|
||||

|
||||
```
|
||||
|
||||

|
||||
|
||||
## Screenshot in page bundle
|
||||
|
||||
```bash
|
||||

|
||||
```
|
||||
|
||||

|
||||
|
||||
## Image in assets directory
|
||||
|
||||
```bash
|
||||

|
||||
```
|
||||
|
||||

|
||||
|
||||
## Shortcode
|
||||
|
||||
### Image in page bundle
|
||||
|
||||
```md
|
||||
{{</* figure src="security-as-code-startup-jit-comes-out-of-stealth-with-38-5m-in-seed-funding.jpg" alt="Describe your image" caption="For a figure caption can be different than alt text" */>}}
|
||||
```
|
||||
|
||||
{{< figure src="security-as-code-startup-jit-comes-out-of-stealth-with-38-5m-in-seed-funding.jpg" alt="Describe your image" caption="For a figure caption can be different than alt text" >}}
|
||||
|
||||
### Image in assets directory
|
||||
|
||||
```md
|
||||
{{</* figure src="images/harley-davidson.jpg" alt="Harley Davidson" caption="For a figure caption can be different than alt text" */>}}
|
||||
```
|
||||
|
||||
{{< figure src="images/harley-davidson.jpg" alt="Harley Davidson" caption="For a figure caption can be different than alt text" >}}
|
||||
|
Reference in New Issue
Block a user