Skip to content

Commit

Permalink
Fix deck name
Browse files Browse the repository at this point in the history
  • Loading branch information
tansongchen committed Jan 7, 2023
1 parent 890e91d commit 5566a30
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "note-synchronizer",
"name": "Note Synchronizer",
"version": "0.1.3",
"version": "0.1.4",
"minAppVersion": "1.0.0",
"description": "This is a plugin for synchornizing Obsidian notes to other note-based softwares like Anki, following more strictly the principles of Zettelkasten and treating each Obsidian file as a note.",
"author": "Songchen Tan",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-note-synchronizer",
"version": "0.1.3",
"version": "0.1.4",
"description": "This is a plugin for synchornizing Obsidian notes to other note-based softwares like Anki, following more strictly the principles of Zettelkasten and treating each Obsidian file as a note.",
"main": "main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default class Note {
}

renderDeckName() {
return this.folder.replace('/', '::') || 'Obsidian';
return this.folder.replace(/\//g, '::') || 'Obsidian';
}

isCloze() {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"0.1.0": "0.14.0",
"0.1.1": "0.14.0",
"0.1.2": "0.14.0",
"0.1.3": "1.0.0"
"0.1.3": "1.0.0",
"0.1.4": "1.0.0"
}

0 comments on commit 5566a30

Please sign in to comment.