MCPcopy Create free account
hub / github.com/continuedev/continue / createLowlight

Function createLowlight

extensions/cli/src/ui/__mocks__/lowlight.js:4–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2export const common = {};
3
4export function createLowlight() {
5 return {
6 register: () => {},
7 highlight: (lang, code) => ({
8 children: [{ type: "text", value: code }],
9 }),
10 highlightAuto: (code) => ({
11 children: [{ type: "text", value: code }],
12 }),
13 };
14}

Callers 1

highlightCodeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected