1
0

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

41
node_modules/mathjax-full/js/core/InputJax.d.ts generated vendored Normal file
View File

@@ -0,0 +1,41 @@
import { MathDocument } from './MathDocument.js';
import { MathItem, ProtoItem } from './MathItem.js';
import { MmlNode } from './MmlTree/MmlNode.js';
import { MmlFactory } from './MmlTree/MmlFactory.js';
import { OptionList } from '../util/Options.js';
import { FunctionList } from '../util/FunctionList.js';
import { DOMAdaptor } from '../core/DOMAdaptor.js';
export interface InputJax<N, T, D> {
name: string;
processStrings: boolean;
options: OptionList;
preFilters: FunctionList;
postFilters: FunctionList;
adaptor: DOMAdaptor<N, T, D>;
mmlFactory: MmlFactory;
setAdaptor(adaptor: DOMAdaptor<N, T, D>): void;
setMmlFactory(mmlFactory: MmlFactory): void;
initialize(): void;
reset(...args: any[]): void;
findMath(which: N | string[], options?: OptionList): ProtoItem<N, T>[];
compile(math: MathItem<N, T, D>, document: MathDocument<N, T, D>): MmlNode;
}
export declare abstract class AbstractInputJax<N, T, D> implements InputJax<N, T, D> {
static NAME: string;
static OPTIONS: OptionList;
options: OptionList;
preFilters: FunctionList;
postFilters: FunctionList;
adaptor: DOMAdaptor<N, T, D>;
mmlFactory: MmlFactory;
constructor(options?: OptionList);
get name(): string;
setAdaptor(adaptor: DOMAdaptor<N, T, D>): void;
setMmlFactory(mmlFactory: MmlFactory): void;
initialize(): void;
reset(..._args: any[]): void;
get processStrings(): boolean;
findMath(_node: N | string[], _options?: OptionList): ProtoItem<N, T>[];
abstract compile(math: MathItem<N, T, D>, document: MathDocument<N, T, D>): MmlNode;
protected executeFilters(filters: FunctionList, math: MathItem<N, T, D>, document: MathDocument<N, T, D>, data: any): any;
}