ad md_in_html to align images

benjamin
Florian Roger 2 years ago
parent d521eb6774
commit c691728d6c

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

@ -95,4 +95,8 @@ Pour mettre la ligne `{% raw %}{\{ define main}}{% endraw %}` dans un bloc quote
```
{% raw %} {% raw %} {\{ define main}} {% endravv %} {% endraw %}
```
```
```
### Aligner une image sur la droite
![image d'une flèche orientée vers la gauche](img/mkdocs_image-left.png){ width="150", align=right }Grâce à l'extension `md_in_html`, vous pouvez ajouter des classes css à vos images pour en modifier l'affichage. Il suffit d'ajouter la classe entre accolades à la suite de l'image: `![description de mon image](chemin-de-mon-image.png){width="150", align=right}`

@ -47,6 +47,7 @@ markdown_extensions:
- toc:
permalink: true
- attr_list
- md_in_html
extra_javascript:
- https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/highlight.min.js
- assets/js/config.js

Loading…
Cancel
Save