Skip to content

BlockSuite API Documentation / @blocksuite/blocks / MarkdownTransformer

Variable: MarkdownTransformer

const MarkdownTransformer: object

Type declaration

exportDoc()

exportDoc: (doc) => Promise<void>

Parameters

doc: Doc

Returns

Promise<void>

importMarkdown()

importMarkdown: (__namedParameters) => Promise<void>

Parameters

__namedParameters: ImportMarkdownOptions

Returns

Promise<void>

Source

packages/blocks/src/_common/transformers/markdown.ts:75