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

    Implements

    Index

    Constructors

    Properties

    labelParser: LabelParser
    markdownIt: MarkdownIt = ...
    resetRenderer: undefined | Disposable

    Methods

    • Parses the width=W,height=H parameter list of an image's sizing suffix.

      Parameters

      • params: string

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

      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.