Kind: Function
Source: atloria-monorepo/apps/web/src/lib/structured-data.ts
A page is a HowTo when its type says "procedure" AND it really has ≥2 numbered steps. Each step's image is the first image between it and the next step — exactly how the generator interleaves them.
Signature
tsfunction extractHowTo(markdown: string, title: string, pageType: string | null | undefined): HowToSchema | null
Parameters
| Name | Type |
|---|---|
markdown | string |
title | string |
pageType | `string |
Returns: HowToSchema | null
Was this page helpful?