eslint-plugin-copilot Documentation / _internal/customization-body / getCustomizationBodyWithOffset
Function: getCustomizationBodyWithOffset()
function getCustomizationBodyWithOffset(sourceText: string): Readonly<{
body: string;
offset: number;
}>;
Defined in: _internal/customization-body.ts:8
Extract the Markdown body and its absolute character offset.
Parametersâ
| Parameter | Type |
|---|---|
sourceText | string |
Returnsâ
Readonly<{
body: string;
offset: number;
}>