Preview:```ts
function lineNumberByIndex(index: number, s: string) {
const re = /^[\S\s]/gm
let line = 0
let match // how would you write this type?
/*
- let match: RegExpExecArray | null;
- let match: ReturnType<RegExp['exec']>;
*/
let lastRowIndex = 0
...```
You can choose specific lines to embed by selecting them before copying the link.