refactor: importer
This commit is contained in:
@@ -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,
|
||||
}),
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user