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.ChtmlHighlighter = void 0;
const css_highlighter_js_1 = require("./css_highlighter.js");
class ChtmlHighlighter extends css_highlighter_js_1.CssHighlighter {
constructor() {
super();
}
isMactionNode(node) {
var _a;
return ((_a = node.tagName) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === this.mactionName.toUpperCase();
}
getMactionNodes(node) {
return Array.from(node.getElementsByTagName(this.mactionName));
}
}
exports.ChtmlHighlighter = ChtmlHighlighter;