Skip to content

Commit

Permalink
feat: keep en link if not found (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
akosbalasko authored Feb 27, 2024
1 parent cf8a1c8 commit e7f67c5
Show file tree
Hide file tree
Showing 15 changed files with 175 additions and 43 deletions.
1 change: 1 addition & 0 deletions Notes_for_Logseq.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Please use settings below
"haveGlobalResources": false,
"useUniqueUnknownFileNames": false,
"useLevenshteinForLinks": false,
"keepEvernoteLinkIfNoNoteFound": false,
"keepFontColors": false,
"logseqSettings":{
"journalNotes": false
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ The following configurational properties are available:
| ```encryptionPasswords``` | string | list of passwords used in any notes, separated by commas
|```useUniqueUnknownFileNames``` | boolean | generates a couple of random characters at the end of the resource file names if the exact name cannot be recognised. For instance: unknown_filename-d2fd86c3.pdf
|```useLevenshteinForLinks```| boolean| it applies the link to the note with the filename that has the closest Levenshtein distance to the text of the link
|```keepEvernoteLinkIfNoNoteFound```| boolean | it keeps the link to the evernote note if no such note found among the converted files
|```keepFontColors```| boolean | it keeps the custom font family and colors encoded as inline styles in span

Metadata settings can be set via the template.
Expand Down
1 change: 1 addition & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"haveGlobalResources": false,
"useUniqueUnknownFileNames": false,
"useLevenshteinForLinks": false,
"keepEvernoteLinkIfNoNoteFound": false,
"keepFontColors": false,

"replacementChar": "_",
Expand Down
1 change: 1 addition & 0 deletions config.logseq.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"haveGlobalResources": false,
"useUniqueUnknownFileNames": false,
"useLevenshteinForLinks": false,
"keepEvernoteLinkIfNoNoteFound": false,
"keepFontColors": false,
"logseqSettings":{
"journalNotes": false
Expand Down
1 change: 1 addition & 0 deletions config.tana.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"haveGlobalResources": false,
"useUniqueUnknownFileNames": false,
"useLevenshteinForLinks": false,
"keepEvernoteLinkIfNoNoteFound": false,
"keepFontColors": false,
"replacementChar": "_",
"replacementCharacterMap": {
Expand Down
58 changes: 19 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/YarleOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@ export interface YarleOptions {
obsidianTaskTag?: string;
useUniqueUnknownFileNames?: boolean;
useLevenshteinForLinks?: boolean;
keepEvernoteLinkIfNoNoteFound?: boolean;
keepFontColors?: boolean;
}
Loading

0 comments on commit e7f67c5

Please sign in to comment.