yarle-evernote-to-md
Version:
Yet Another Rope Ladder from Evernote
68 lines (66 loc) • 2.36 kB
text/typescript
import { OutputFormat } from './output-format';
import { TagSeparatorReplaceOptions, SearchAndReplace } from './models';
import { TaskOutputFormat } from './task-output-format';
import { CharacterMap } from 'CharacterMap';
import { ImageSizeFormat } from 'image-size-format';
export interface YarleOptions {
enexDir?: string; // used by command line
enexSources?: Array<string>; // used by the UI
templateFile?: string;
currentTemplate?: string;
outputDir?: string;
keepOriginalHtml?: boolean;
posixHtmlPath?: boolean;
isMetadataNeeded?: boolean;
isNotebookNameNeeded?: boolean;
isZettelkastenNeeded?: boolean;
useZettelIdAsFilename?: boolean;
plainTextNotesOnly?: boolean;
skipLocation?: boolean;
skipCreationTime?: boolean;
skipUpdateTime?: boolean;
skipSourceUrl?: boolean;
skipWebClips?: boolean;
skipReminderTime?: boolean;
skipReminderOrder?: boolean;
skipReminderDoneTime?: boolean;
skipTags?: boolean;
useHashTags?: boolean;
outputFormat?: OutputFormat;
trimStartingTabs?: boolean;
convertPlainHtmlNewlines?: boolean;
encryptionPasswords?: Array<string>;
logseqSettings?: {
journalNotes: boolean,
};
obsidianSettings?: {
omitLinkDisplayName?: boolean,
};
replaceWhitespacesInTagsByUnderscore?: boolean;
skipEnexFileNameFromOutputPath?: boolean;
haveEnexLevelResources?: boolean;
haveGlobalResources?: boolean;
keepMDCharactersOfENNotes?: boolean;
urlEncodeFileNamesAndLinks?: boolean;
sanitizeResourceNameSpaces?: boolean;
replacementChar?: string;
replacementCharacterMap?: CharacterMap;
monospaceIsCodeBlock?: boolean;
dateFormat?: string;
nestedTags?: TagSeparatorReplaceOptions;
imageSizeFormat?: ImageSizeFormat;
keepImageSize?: boolean;
keepOriginalAmountOfNewlines?: boolean;
generateNakedUrls?: boolean;
addExtensionToInternalLinks?: boolean;
pathSeparator?: string;
resourcesDir?: string;
turndownOptions?: Record<string, any>;
taskOutputFormat?: TaskOutputFormat;
obsidianTaskTag?: string;
useUniqueUnknownFileNames?: boolean;
useLevenshteinForLinks?: boolean;
keepEvernoteLinkIfNoNoteFound?: boolean;
convertColorsToMDHighlight?: boolean;
globalReplacementSettings?: Array<SearchAndReplace>;
}