Images

jemdoc-rs supports both inline images and image blocks.

Inline Images

Use the [img] syntax:

[img{width}{height}{alt text} path/to/image.png]

All three brace parameters are optional. Examples:

[img{100}{100}{icon} img/favicon-jr.svg]
[img{200}{}{wide logo} img/favicon-jr.svg]
[img{}{}{} img/favicon-jr.svg]

Here is an inline image: icon

Image Blocks

Image blocks place an image alongside descriptive text. The text flows to the right of the image:

~~~
{}{img_left}{photo.jpg}{alt text}{width}{height}{optional link}
Description text goes here.
~~~

Example

jemdoc-rs icon 

jemdoc-rs is a Rust rewrite of jemdoc+MathJax.

Image blocks are useful for author photos, project logos, or product screenshots. The text wraps naturally beside the image.

You can include formatted text, italics, links, and even equations like \(a^2 + b^2 = c^2\).

Image Block with Link

If the sixth parameter is a URL, the image becomes clickable:

jemdoc-rs icon 

Clicking this image takes you to the jemdoc-rs GitHub repository.