Extract every example from an HTML string you already hold in memory.
The synchronous counterpart to extractExamples. Use this when you
have the whole document as a string anyway; prefer extractExamples
when reading from the network or a file, so the document never has to be
buffered in full.
Parameters
html: string
A complete HTML document, or any fragment containing examples.
Extract every example from an HTML string you already hold in memory.
The synchronous counterpart to extractExamples. Use this when you have the whole document as a string anyway; prefer extractExamples when reading from the network or a file, so the document never has to be buffered in full.