Skip to content

Commit 969a9c8

Browse files
committed
docs: better look for screenshot captions
1 parent 551941b commit 969a9c8

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

docs/mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ markdown_extensions:
2929
# add tip, warning info boxes
3030
- admonition
3131

32+
- md_in_html
33+
3234
# show # after each header
3335
- toc:
3436
permalink: '#'

docs/src/features.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,15 @@ This package presents Code Lenses as a greenish clickable annotation positioned
152152

153153
Sublime Text has no concept of Code Lenses.
154154

155-
![code-lens](./images/code-lens-annotation.png)
156-
157-
> `"show_code_lens"` is set to `"annotation"`
158-
159-
![code-lens](./images/code-lens-phantom.png)
160-
> `"show_code_lens"` is set to `"phantom"`
155+
<figure markdown>
156+
![code-lens](./images/code-lens-annotation.png)
157+
<figcaption>"show_code_lens" is set to "annotation"</figcaption>
158+
</figure>
159+
160+
<figure markdown>
161+
![code-lens](./images/code-lens-phantom.png)
162+
<figcaption>"show_code_lens" is set to "phantom"</figcaption>
163+
</figure>
161164

162165
## Inlay Hints
163166

0 commit comments

Comments
 (0)