<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`getFrontMatterInfo`](getFrontMatterInfo) ## getFrontMatterInfo() function Given the contents of a file, get information about the frontmatter of the file, including whether there is a frontmatter block, the offsets of where it starts and ends, and the frontmatter text. 1.5.7 **Signature:** ```typescript export function getFrontMatterInfo(content: string): FrontMatterInfo; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>content</code> | <code>string</code> | | **Returns:** [`FrontMatterInfo`](FrontMatterInfo)