0.5.6 • Published 6 months ago
@types/ascii2mathml v0.5.6
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.