prism-code-editor
Version:
Lightweight, extensible code editor component for the web using Prism
10 lines (9 loc) • 341 B
JavaScript
import { n as getClosestToken } from "../index-BvZmi6ce.js";
import { g as markupTemplateLang } from "../index-ByhqCQJ3.js";
markupTemplateLang("tt2", {
block: ["[%#", "%]"]
}).getComments = (editor, position) => ({
line: getClosestToken(editor, ".tt2", 0, 0, position) && "#",
block: ["[%#", "%]"]
});
//# sourceMappingURL=tt2.js.map