add initial marp implementation with sample content and build configuration
This commit is contained in:
17
node_modules/speech-rule-engine/js/highlighter/mml_css_highlighter.js
generated
vendored
Normal file
17
node_modules/speech-rule-engine/js/highlighter/mml_css_highlighter.js
generated
vendored
Normal 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;
|
||||
Reference in New Issue
Block a user