Appearance
Images
A library of images can be added to the document's assets, using the syntax:
xml
<assets>
<images>
<alan-turing>https://examples.papermill.io/images/alan-turing.jpg</alan-turing>
<ai-timeline>https://examples.papermill.io/images/ai-timeline.png</ai-timeline>
</images>
</assets>Once defined, these images can be used anywhere in the document, e.g.
xml
<img src="alan-turing" />Supported image formats are JPEG, PNG, SVG, and WebP (WebP images are automatically converted to PNG during typesetting). SVG images are registered in the same way:
xml
<assets>
<images>
<company-logo>https://examples.papermill.io/images/logo.svg</company-logo>
</images>
</assets>For more details on SVG usage and sizing, see Images.