Markdown image.

interface Image {
    alt?: null | string;
    data?: ImageData;
    position?: "/home/runner/work/astro-node-fastify/astro-node-fastify/node_modules/@types/unist/index".Position;
    title?: null | string;
    type: "image";
    url: string;
}

Hierarchy (view full)

Properties

alt?: null | string

Equivalent content for environments that cannot represent the node as intended.

data?: ImageData

Data associated with the mdast image.

Position of a node in a source document.

Nodes that are generated (not in the original source document) must not have a position.

title?: null | string

Advisory information for the resource, such as would be appropriate for a tooltip.

type: "image"

Node type of mdast image.

url: string

URL to the referenced resource.