Theia API Documentation v1.77.0
    Preparing search index...

    Implements

    Index
    labelParser: LabelParser
    markdownIt: MarkdownIt = ...
    resetRenderer: Disposable | undefined
    • Parses the width=W,height=H parameter list of an image's sizing suffix.

      Parameters

      • params: string

      Returns { height?: string; width?: string } | undefined

      the recognized dimensions, or undefined if the suffix is not a well-formed parameter list — in which case it is left as part of the src, since it may be a literal | in the URL.