HTMLSerializerOptions
type HTMLSerializerOptions = { blocks?: Record<string, BlockRenderer>; classPrefix?: string; document?: boolean; marks?: Record<string, MarkRenderer>; onUnknownBlock?: (node, ctx) => string;};Defined in: index.ts:8
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
blocks? | Record<string, BlockRenderer> | index.ts:9 |
classPrefix? | string | index.ts:11 |
document? | boolean | index.ts:12 |
marks? | Record<string, MarkRenderer> | index.ts:10 |
onUnknownBlock? | (node, ctx) => string | index.ts:13 |