Practic BUI (Base UI) - v1.0.0
    Preparing search index...
    • Render Markdown, with GitHub's tables and task lists (each checkbox named after its task), styled to read well inside panels and dialogs on any theme.

      Parameters

      • props: {
            children: string;
            components?: Components;
            rehypePlugins?: PluggableList | null;
            values?: Readonly<Record<string, string>>;
        }

        Markdown properties.

        • children: string

          Markdown source.

        • Optionalcomponents?: Components

          Elements to render differently, such as code blocks with syntax highlighting (markdownCodeComponents); the rest keep the defaults.

        • OptionalrehypePlugins?: PluggableList | null

          Plugins for the HTML it produces, such as rehype-raw to render the raw HTML of a trusted document (a README's <details>); without them, raw HTML is left out.

        • Optionalvalues?: Readonly<Record<string, string>>

          Values for the Markdown's {name} placeholders, filled once it is parsed, so they show as written (see markdownFill).

      Returns Element