Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function createCodeFrame
import { createCodeFrame } from "https://deno.land/x/fresh@1.5.4/src/server/code_frame.ts";

Generate an excerpt of the location in the source around the specified position.

Parameters

text: string
lineNum: number
columnNum: number

Returns

string | undefined