weasel API - v0.8.0
    Preparing search index...

    Interface MarkdownFontOptions

    Font styling options threaded through createMarkdownRenderer.

    interface MarkdownFontOptions {
        color?: string;
        family?: string;
        lineHeight?: number;
        weight?: string | number;
    }
    Index

    Properties

    color?: string

    Override fill color. When set, used for all runs (italic and bold).

    family?: string

    Font-family spec (e.g. '"Iowan Old Style", Georgia, serif'). Defaults to sans-serif.

    lineHeight?: number

    Multiplier applied to font size for line height. Default 1.3.

    weight?: string | number

    Numeric weight applied to non-bold runs. Bold runs always use bold. Default normal.