0.5.6 • Published 6 months ago

@types/ascii2mathml v0.5.6

Weekly downloads
32
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/ascii2mathml

Summary

This package contains type definitions for ascii2mathml (https://github.com/runarberg/ascii2mathml).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ascii2mathml.

index.d.ts

// Type definitions for ascii2mathml 0.5
// Project: https://github.com/runarberg/ascii2mathml
// Definitions by: Muhammad Ragib Hasin <https://github.com/RagibHasin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export = A2MML;

declare var A2MML: ascii2mathml;

interface ascii2mathml {
    /**
     * Generates a function with default options set to convert
     * ASCIIMath expression to MathML markup.
     * @param options Options
     */
    (options: A2MML.Options): ascii2mathml;

    /**
     * Converts ASCIIMath expression to MathML markup.
     * @param asciimath ASCIIMath expression
     * @param options Options
     */
    (asciimath: string, options?: A2MML.Options): string;
}

declare namespace A2MML {
    interface Options {
        decimalMark?: string | undefined;
        colSep?: string | undefined;
        rowSep?: string | undefined;
        display?: 'inline' | 'block' | undefined;
        dir?: 'ltr' | 'rtl' | undefined;
        bare?: boolean | undefined;
        standalone?: boolean | undefined;
        annotate?: boolean | undefined;
    }
}

Additional Details

  • Last updated: Wed, 07 Jul 2021 21:44:32 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Muhammad Ragib Hasin.

0.5.4

8 months ago

0.5.6

6 months ago

0.5.5

7 months ago

0.5.3

3 years ago

0.5.2

6 years ago

0.5.1

7 years ago

0.5.0

7 years ago