Skip to content

Commit

Permalink
feat: option to remove utf tags (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
akosbalasko authored Aug 20, 2024
1 parent 68bbe51 commit 3dc2711
Show file tree
Hide file tree
Showing 13 changed files with 80 additions and 41 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ The following configurational properties are available:
|```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
|```convertColorsToMDHighlight```| boolean | it converts colored highlights and custom font spans to standard markdown highlights
|```removeUnicodeCharsFromTags```| boolean | it removes the unicode characters (like éáűőú) from tags

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 @@ -20,6 +20,7 @@
"skipWebClips": true,
"skipTags": false,
"useHashTags": true,
"removeUnicodeCharsFromTags": false,
"outputFormat": "ObsidianMD",
"taskOutputFormat": "ObsidianMD",
"imageSizeFormat": "ObsidianMD",
Expand Down
1 change: 1 addition & 0 deletions config.logseq.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"plainTextNotesOnly": false,
"skipWebClips": true,
"useHashTags": false,
"removeUnicodeCharsFromTags": false,
"nestedTags": {
"separatorInEN": "_",
"replaceSeparatorWith": "---",
Expand Down
1 change: 1 addition & 0 deletions config.tana.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"useLevenshteinForLinks": false,
"keepEvernoteLinkIfNoNoteFound": false,
"convertColorsToMDHighlight": false,
"removeUnicodeCharsFromTags": 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 @@ -22,6 +22,7 @@ export interface YarleOptions {
skipUpdateTime?: boolean;
skipSourceUrl?: boolean;
skipWebClips?: boolean;
removeUnicodeCharsFromTags?: boolean
skipReminderTime?: boolean;
skipReminderOrder?: boolean;
skipReminderDoneTime?: boolean;
Expand Down
13 changes: 13 additions & 0 deletions src/ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,19 @@ <h5 class="info-text">Tags</h5>
<option value="false" selected>No</option>
</select>
</div>
<div class="form-group">
<label for="useHashTags" class="pure-checkbox">
Remove special Unicode characters from tags

</label>


<select class="form-control configurationItem" name="removeUnicodeCharsFromTags" id="removeUnicodeCharsFromTags">
<option value="true">Yes</option>
<option value="false" selected>No</option>
</select>
</div>

<div class="form-group">
<!--<input type="checkbox" value="false" id='nestedTags'> -->
<label for="nestedTags" class="pure-checkbox">
Expand Down
Loading

0 comments on commit 3dc2711

Please sign in to comment.