media-marker.ts#
2 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.
2
symbols
1
functions
1
variables
1
parameters
1
returns
Reference#
fnhasMediaMarker(html: string): Promise<boolean>True when the document contains any tag the transform could rewrite. The list c…
True when the document contains any tag the transform could rewrite.
The list comes from the Rust registry rather than a copy kept here. The copy had already drifted: codesandbox was missing, so a page whose only embed was a <CodeSandbox> skipped the transform entirely and shipped the raw tag.
Signature
export async function hasMediaMarker(html: string): Promise<boolean>Parameters
-
htmlstring
Returns
Promise<boolean>