MAIDR Documentation - v3.75.0
    Preparing search index...

    Function resolveMathStylesheetUrl

    • Works out where maidr-math.css is served from.

      The stylesheet ships in the same directory as maidr.js and maidr.css, so either of those, wherever the page loaded it from — a CDN, the site's own assets, a file:// export — locates it. An explicit window.maidrMathStylesheetUrl wins over both, for the pages where neither can be found.

      Returns string | null

      The absolute URL to link, or null when dist cannot be located.