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
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: Mon, 06 Nov 2023 22:41:04 GMT
- Dependencies: none
Credits
These definitions were written by Muhammad Ragib Hasin.