Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: levenshtein distanced links implemented #532

Merged
merged 2 commits into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Notes_for_Logseq.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ Please use settings below
"keepOriginalAmountOfNewlines": true,
"haveEnexLevelResources": true,
"haveGlobalResources": false,
"useUniqueUnknownFileNames": false,
"useUniqueUnknownFileNames": false,
"useLevenshteinForLinks": false,
"logseqSettings":{
"journalNotes": false
}
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ To configure Yarle, you must create a config file. By default it looks like this
"haveEnexLevelResources": true,
"haveGlobalResources": false,
"useUniqueUnknownFileNames": false,
"useLevenshteinForLinks": false,
"logseqSettings":{
"journalNotes": false
},
Expand Down Expand Up @@ -204,7 +205,7 @@ The following configurational properties are available:
| ```taskOutputFormat``` | `ObsidianMD` or `StandardMD` | Output format of Evernote v10+ tasks. ObsidianMD will connvert tasks to match with Obsidian Tasks plugin's requirements. StandardMD will create plain tasks, loosing many features like reminders or due dates.
| ```obsidianTaskTag``` | string | a tag to put to a task converted from Evernote v10+ tasks. Optional by Obsidian Tasks plugin, pls check the details there.
|```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
Metadata settings can be set via the template.


Expand Down
2 changes: 2 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"haveEnexLevelResources": false,
"haveGlobalResources": false,
"useUniqueUnknownFileNames": false,
"useLevenshteinForLinks": false,

"replacementChar": "_",
"replacementCharacterMap": {
"<": "_",
Expand Down
1 change: 1 addition & 0 deletions config.logseq.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"haveEnexLevelResources": true,
"haveGlobalResources": false,
"useUniqueUnknownFileNames": false,
"useLevenshteinForLinks": 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 @@ -28,6 +28,7 @@
"haveEnexLevelResources": false,
"haveGlobalResources": false,
"useUniqueUnknownFileNames": false,
"useLevenshteinForLinks": false,
"replacementChar": "_",
"replacementCharacterMap": {
"<": "_",
Expand Down
Loading
Loading