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

View File

@@ -0,0 +1,21 @@
import { SemanticMeaningCollator } from './semantic_default.js';
import { SemanticNode } from './semantic_node.js';
import { SemanticParser } from './semantic_parser.js';
import './semantic_heuristics.js';
export declare class SemanticTree {
mathml: Element;
parser: SemanticParser<Element>;
root: SemanticNode;
collator: SemanticMeaningCollator;
static empty(): SemanticTree;
static fromNode(semantic: SemanticNode, opt_mathml?: Element): SemanticTree;
static fromRoot(semantic: SemanticNode, opt_mathml?: Element): SemanticTree;
static fromXml(xml: Element): SemanticTree;
constructor(mathml: Element);
xml(opt_brief?: boolean): Element;
toString(opt_brief?: boolean): string;
formatXml(opt_brief?: boolean): string;
displayTree(): void;
replaceNode(oldNode: SemanticNode, newNode: SemanticNode): void;
toJson(): any;
}