1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-03 08:35:29 +02:00
joplin/packages/lib/services/interop/InteropService_Importer_EnexToHtml.ts

16 lines
553 B
TypeScript
Raw Normal View History

import { ImportExportResult } from './types';
import InteropService_Importer_Base from './InteropService_Importer_Base';
import { enexImporterExec } from './InteropService_Importer_EnexToMd';
export default class InteropService_Importer_EnexToHtml extends InteropService_Importer_Base {
public async exec(result: ImportExportResult): Promise<ImportExportResult> {
return enexImporterExec(
result,
this.options_.destinationFolder,
this.sourcePath_,
this.metadata().fileExtensions,
{ ...this.options_, outputFormat: 'html' },
);
}
}