Installation
Usage
Configuration
inline
Controls whether the image node should be inline or block-level.When true, images are rendered as inline elements that flow with text.
allowBase64
Controls whether base64 images are allowed.Enable this to allow base64-encoded image URLs in the src attribute.
HTMLAttributes
Custom HTML attributes to add to the image element.Custom HTML attributes that should be added to the rendered HTML tag.
resize
Controls if the image should be resizable.Enable image resizing with optional configuration for directions, minimum dimensions, and aspect ratio preservation.
Attributes
The Image node supports the following attributes:- src: The image URL (required)
- alt: Alternative text for the image
- title: Title text for the image
- width: Image width in pixels
- height: Image height in pixels
Commands
setImage
Inserts an image with the specified attributes.Input Rules
The Image extension supports Markdown-style input rules:- Type
to insert an image - Type
to insert an image with a title