mdbook-image-size

Crates.iomdbook-image-size
lib.rsmdbook-image-size
version0.1.0
sourcesrc
created_at2023-11-27 14:16:37.496286
updated_at2023-11-27 14:16:37.496286
descriptionA mdbook preprocessor which support image size syntax
homepage
repositoryhttps://github.com/lhybdv/mdbook-image-size.git
max_upload_size
id1050462
size62,997
lhybdv (lhybdv)

documentation

README

mdbook-image-size

A mdbook preprocessor which support image size syntax

width & height

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">

width only

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"> 

height only

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.

Commit count: 8

cargo fmt