Kind: Function
Source: atloria-monorepo/apps/web/src/lib/structured-data.ts
The one-per-page policy: HowTo wins for procedure pages, FAQPage for FAQ pages/heuristics, else nothing.
Signature
tsfunction extractStructuredData(markdown: string, title: string, pageType: string | null | undefined): HowToSchema | FaqSchema | null
Parameters
| Name | Type |
|---|---|
markdown | string |
title | string |
pageType | `string |
Returns: HowToSchema | FaqSchema | null
Was this page helpful?