New Image marker Options ; Fixes

This commit is contained in:
Cyrille L 2022-06-23 16:30:50 +02:00
parent 37a18a3af4
commit 65ea851e05
2 changed files with 18 additions and 2 deletions

View File

@ -16,16 +16,24 @@ image: 1 : dir/dir1/pic.png
```
## Images: set style and target
Examples HTML Ouput according to marker "_image:" marker in content
- You can set height only and let original width by putting "0" as width
Examples HTML Ouput according to marker "_image:" in content
```
# Header
image: 5 : avatar-echolib.png : echolib
# Content
_image:5:l:234:567:https://echolib.re
<a class="a-lec_image-link" href="https://echolib.re"><img class="a-lec_image a-lec_image-left" src="./images/avatar-echolib.png" alt="echolib" title="echolib" style="width:234px;height:567px;" /></a>
_image:5:http://echolib.re
<a class="a-lec_image-link" href="http//echolib.re"><img class="a-lec_image a-lec_image-center" src="./images/avatar-echolib.png" alt="echolib" title="echolib" /></a>
_image:5:l:0:567:https://echolib.re
<a class="a-lec_image-link" href="https://echolib.re"><img class="a-lec_image a-lec_image-left" src="./images/avatar-echolib.png" alt="echolib" title="echolib" style="height:567px;" /></a>
_image:5:CSS-B:128:http://echolib.re
<a class="a-lec_image-link CSS-B" href="http//echolib.re"><img class="a-lec_image CSS-B" src="./images/avatar-echolib.png" alt="echolib" title="echolib" style="width:128px;" /></a>

View File

@ -16,16 +16,24 @@ image: 1 : dir/dir1/pic.png
```
## Images: set style and target
Examples HTML Ouput according to marker "_image:" marker in content
- You can set height only and let original width by putting "0" as width
Examples HTML Ouput according to marker "_image:" in content
```
# Header
image: 5 : avatar-echolib.png : echolib
# Content
_image:5:l:234:567:https://echolib.re
<a class="a-lec_image-link" href="https://echolib.re"><img class="a-lec_image a-lec_image-left" src="./images/avatar-echolib.png" alt="echolib" title="echolib" style="width:234px;height:567px;" /></a>
_image:5:http://echolib.re
<a class="a-lec_image-link" href="http//echolib.re"><img class="a-lec_image a-lec_image-center" src="./images/avatar-echolib.png" alt="echolib" title="echolib" /></a>
_image:5:l:0:567:https://echolib.re
<a class="a-lec_image-link" href="https://echolib.re"><img class="a-lec_image a-lec_image-left" src="./images/avatar-echolib.png" alt="echolib" title="echolib" style="height:567px;" /></a>
_image:5:CSS-B:128:http://echolib.re
<a class="a-lec_image-link CSS-B" href="http//echolib.re"><img class="a-lec_image CSS-B" src="./images/avatar-echolib.png" alt="echolib" title="echolib" style="width:128px;" /></a>