UNPKG

@autoanki/plugin-source-yaml

Version:

Extract Anki cards from Markdown fiels

12 lines 653 B
import type { AutoankiPlugin, SourcePlugin, SourcePluginParsingOutput, AutoankiPluginApi } from '@autoanki/core'; export declare class YamlSourcePlugin implements SourcePlugin { private coreApi; static pluginName: string; constructor(coreApi: AutoankiPluginApi); private yamlParseCache; writeBackToInput(inputKey: string, originalInputContent: ArrayBufferLike, notes: SourcePluginParsingOutput[]): Promise<ArrayBufferLike>; parseFromInput(inputKey: string, inputContent: ArrayBufferLike): Promise<SourcePluginParsingOutput[]>; } declare const _default: AutoankiPlugin; export default _default; //# sourceMappingURL=index.d.ts.map