Skip to content

Commit d2c70c4

Browse files
authored
docs: Add an example for preventing GitHub from auto linking to the image (lowlighter#1339) [skip ci]
1 parent b642739 commit d2c70c4

File tree

1 file changed

+7
-0
lines changed
  • .github/readme/partials/documentation/setup

1 file changed

+7
-0
lines changed

.github/readme/partials/documentation/setup/action.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,13 @@ Update profile `README.md` to include rendered image (filename may differ if `fi
130130
<img align="center" src="/github-metrics.svg" alt="Metrics" width="400">
131131
```
132132

133+
*Example: add rendered image and prevent GitHub from auto linking to the image*
134+
```html
135+
<picture>
136+
<img src="/github-metrics.svg" alt="Metrics">
137+
</picture>
138+
```
139+
133140
*Example: add rendered image when using `config_display: columns`*
134141
```html
135142
<img src="/github-metrics.svg" alt="Metrics" width="100%">

0 commit comments

Comments
 (0)