add initial marp implementation with sample content and build configuration

This commit is contained in:
2025-09-13 18:13:22 +02:00
parent dcacc9b409
commit e5f219507f
10319 changed files with 1402023 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { AbstractInputJax } from '../core/InputJax.js';
import { OptionList } from '../util/Options.js';
import { FunctionList } from '../util/FunctionList.js';
import { MathDocument } from '../core/MathDocument.js';
import { MathItem } from '../core/MathItem.js';
import { DOMAdaptor } from '../core/DOMAdaptor.js';
import { MmlFactory } from '../core/MmlTree/MmlFactory.js';
import { FindMathML } from './mathml/FindMathML.js';
import { MathMLCompile } from './mathml/MathMLCompile.js';
export declare class MathML<N, T, D> extends AbstractInputJax<N, T, D> {
static NAME: string;
static OPTIONS: OptionList;
protected findMathML: FindMathML<N, T, D>;
protected mathml: MathMLCompile<N, T, D>;
mmlFilters: FunctionList;
constructor(options?: OptionList);
setAdaptor(adaptor: DOMAdaptor<N, T, D>): void;
setMmlFactory(mmlFactory: MmlFactory): void;
get processStrings(): boolean;
compile(math: MathItem<N, T, D>, document: MathDocument<N, T, D>): any;
protected checkForErrors(doc: D): D;
protected error(message: string): void;
findMath(node: N): import("../core/MathItem.js").ProtoItem<N, T>[];
}