Markdown Editor Kit

createMdKitRestAdapter

Function: createMdKitRestAdapter()

function createMdKitRestAdapter(__namedParameters: CreateMdKitRestAdapterOptions): MdKitDocumentAdapter;

Defined in: packages/mdkit/src/transport/rest.ts:31

Builds an MdKitDocumentAdapter that talks to the mdkit REST endpoint shape. Restore is not part of the adapter contract, so REST restore needs a separate call from application code.

Parameters

ParameterType
__namedParametersCreateMdKitRestAdapterOptions

Returns

MdKitDocumentAdapter

On this page