Perseus
    Preparing search index...
    type PerseusRenderer = {
        content: string;
        images: { [imageUrl: string]: PerseusImageDetail };
        metadata?: any;
        widgets: PerseusWidgetsMap;
    }
    Index

    Properties

    content: string

    Translatable Markdown content to be rendered. May include references to widgets (as [[☃ widget-id]]) or [deprecated] images (as ![image text](imageUrl)). This markdown can also include Math in the form of TeX surrounded by $ characters (eg. Solve the following: $1 + 1 = ?$.).

    For each widget found in the Markdown, there must be an entry in the PerseusRenderer.widgets object using the widget-id as the key.

    For each image found in the Markdown, there can be an entry in the PerseusRenderer.images object with the key being the image's url which defines additional attributes for the image.

    images: { [imageUrl: string]: PerseusImageDetail }

    A dictionary of {[imageUrl]: PerseusImageDetail}.

    Use of inline images is deprecated in top-level Perseus content but may be used when widgets embed a PerseusRenderer (such as the radio widget). In top-level content, please use an image widget instead.

    metadata?: any

    Formerly used in the PerseusGradedGroup widget. A list of "tags" that are keys that represent other content in the system. Not rendered to the user.

    A dictionary of {[widgetName]: Widget} to be referenced from the content field.