refactor: importer

This commit is contained in:
Aman Harwara
2023-12-07 21:29:00 +05:30
parent 2cc2dddb9b
commit 620cd960e2
9 changed files with 14 additions and 13 deletions

View File

@@ -1,6 +1,5 @@
import { parseFileName } from '@standardnotes/filepicker'
import { Converter } from '../Converter'
import { NoteType } from '@standardnotes/features'
export class PlaintextConverter implements Converter {
constructor() {}
@@ -35,7 +34,7 @@ export class PlaintextConverter implements Converter {
updatedAt: updatedAtDate,
title: name,
text: convertMarkdownToSuper(content),
noteType: NoteType.Super,
useSuperIfPossible: true,
}),
]
}