You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.3 KiB
77 lines
1.3 KiB
# Test for specifying image sizes in markdown |
|
|
|
(c) |
|
|
|
## small image |
|
|
|
* no explicit size: |
|
|
|
 |
|
|
|
* only width specified `=100x`: |
|
|
|
 |
|
|
|
* only height specified `=x100`: |
|
|
|
 |
|
|
|
* both specified `=100x100`: |
|
|
|
 |
|
|
|
* only width, using html `4200x`: |
|
|
|
<img src="potato.jpg" alt="potato" width="4200"/> |
|
|
|
* both specified, using html `4200x4200`: |
|
|
|
<img src="potato.jpg" alt="potato" width="4200" height="4200"/> |
|
|
|
## wide image |
|
|
|
* no explicit size: |
|
|
|
 |
|
|
|
* only width specified `=100x`: |
|
|
|
 |
|
|
|
* only height specified `=x100`: |
|
|
|
 |
|
|
|
* both specified `=100x100`: |
|
|
|
 |
|
|
|
* only height specified, using html `x4200`: |
|
|
|
<img src="1500x300.png" alt="1500x300" height="4200"/> |
|
|
|
* both specified, using html `4200x4200`: |
|
|
|
<img src="1500x300.png" alt="1500x300" width="4200" height="4200"/> |
|
|
|
## tall image |
|
|
|
* no explicit size: |
|
|
|
 |
|
|
|
* only width specified `=100x`: |
|
|
|
 |
|
|
|
* only height specified `=x100`: |
|
|
|
 |
|
|
|
* both specified `=100x100`: |
|
|
|
 |
|
|
|
* both specified, using html `4200x4200`: |
|
|
|
<img src="300x1500.png" alt="300x1500" width="4200" height="4200"/>
|
|
|