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,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MmlCssHighlighter = void 0;
const css_highlighter_js_1 = require("./css_highlighter.js");
class MmlCssHighlighter extends css_highlighter_js_1.CssHighlighter {
constructor() {
super();
this.mactionName = 'maction';
}
getMactionNodes(node) {
return Array.from(node.getElementsByTagName(this.mactionName));
}
isMactionNode(node) {
return node.tagName === this.mactionName;
}
}
exports.MmlCssHighlighter = MmlCssHighlighter;