prism-code-editor
Version:
Lightweight, extensible code editor component for the web using Prism
10 lines (9 loc) • 382 B
JavaScript
import { n as getClosestToken } from "../utils-BffvWiz1.js";
import { l as markupTemplateLang } from "../shared-CMfzVEi9.js";
//#region src/languages/tt2.ts
markupTemplateLang("tt2", { block: ["[%#", "%]"] }).getComments = (editor, position) => ({
line: getClosestToken(editor, ".tt2", 0, 0, position) && "#",
block: ["[%#", "%]"]
});
//#endregion
//# sourceMappingURL=tt2.js.map