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
+12
View File
@@ -0,0 +1,12 @@
import * as DomUtil from '../common/dom_util.js';
import { SemanticTree } from './semantic_tree.js';
export function xmlTree(mml) {
return getTree(mml).xml();
}
export function getTree(mml) {
return new SemanticTree(mml);
}
export function getTreeFromString(expr) {
const mml = DomUtil.parseInput(expr);
return getTree(mml);
}