Crates.io | mdbook-image-size |
lib.rs | mdbook-image-size |
version | 0.1.0 |
source | src |
created_at | 2023-11-27 14:16:37.496286 |
updated_at | 2023-11-27 14:16:37.496286 |
description | A mdbook preprocessor which support image size syntax |
homepage | |
repository | https://github.com/lhybdv/mdbook-image-size.git |
max_upload_size | |
id | 1050462 |
size | 62,997 |
A mdbook preprocessor which support image size syntax
From
![the alt](path/to/your/image "the title" =500x400)
To
<img src="path/to/your/image" alt="the alt" title="the title" width="500" height="400">
From
![the alt](path/to/your/image "the title" =500x)
To
<img src="path/to/your/image" alt="the alt" title="the title" width="500">
From
![the alt](path/to/your/image "the title" =x400)
To
<img src="path/to/your/image" alt="the alt" title="the title" height="400">
TIP: No alt and title is ok.