Skip to content

Commit 05948ab

Browse files
committed
change Card to πŸ”—
1 parent 207569e commit 05948ab

2 files changed

Lines changed: 26 additions & 8 deletions

File tree

β€Ždata.jsonβ€Ž

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"Basic++": "",
77
"Basic+++": "",
88
"Basic-73fde": "",
9-
"Cloze ALL": "",
9+
"Cloze ALL": "(?:^[\\s-]*-[\\s-]*-[\\s-]*-[\\s-]*$\\n)((?:.*\\n)*?(?:.*\\{\\{c\\d+::(?:.|\\n)+?\\}\\}.*\\n)(?:^.{1,3}$|^.{4}(?<!<!--).*$\\n)*?)(?=(?:^<!--.*$\\n)?^[\\s-]*-[\\s-]*-[\\s-]*-[\\s-]*$\\n)",
1010
"Pot Card 2": "",
1111
"Python - Basic": "",
1212
"Python - Basic (and reversed card)": "",
@@ -46,12 +46,16 @@
4646
"FOLDER_DECKS": {
4747
"ζœͺ命名": "",
4848
"第一δΈͺζ–‡δ»Άε€Ή": "",
49-
"第一δΈͺζ–‡δ»Άε€Ή/第二δΈͺζ–‡δ»Άε€Ή": ""
49+
"第一δΈͺζ–‡δ»Άε€Ή/第二δΈͺζ–‡δ»Άε€Ή": "",
50+
"norcx'anki'test": "",
51+
"norcx'anki'test/asserts": ""
5052
},
5153
"FOLDER_TAGS": {
5254
"ζœͺ命名": "",
5355
"第一δΈͺζ–‡δ»Άε€Ή": "",
54-
"第一δΈͺζ–‡δ»Άε€Ή/第二δΈͺζ–‡δ»Άε€Ή": ""
56+
"第一δΈͺζ–‡δ»Άε€Ή/第二δΈͺζ–‡δ»Άε€Ή": "",
57+
"norcx'anki'test": "",
58+
"norcx'anki'test/asserts": ""
5559
},
5660
"Syntax": {
5761
"Begin Note": "START",
@@ -74,13 +78,21 @@
7478
"CurlyCloze - Highlights to Clozes": false,
7579
"ID Comments": true,
7680
"Add Obsidian Tags": false,
77-
"Use Path as Deck": true
81+
"Use Path as Deck": true,
82+
"Add Card link": true
7883
},
7984
"IGNORED_FILE_GLOBS": [
8085
"**/*.excalidraw.md"
8186
]
8287
},
83-
"Added Media": [],
88+
"Added Media": [
89+
"Pasted image 20240419143443.png",
90+
"Pasted image 20240419143952.png",
91+
"Pasted image 20240419152053.png",
92+
"Pasted image 20240419152108.png",
93+
"Pasted image 20240419152116.png",
94+
"Pasted image 20240419152119.png"
95+
],
8496
"File Hashes": {
8597
"θΏ™δΈͺζ–‡δ»ΆδΈδΌšε‡ΊηŽ°.md": "3bf0f4061ead725b9f00d10156e48c32",
8698
"θΏ™ζ¬‘εΏ…ι‘»ζˆεŠŸ.md": "c8cb44b25bf0f5f3abdb489ce570dea7",
@@ -98,7 +110,13 @@
98110
"成功.md": "bcab17d6d9aa24ec021d86219ba80275",
99111
"你是谁.md": "7ce5d9b5499bf82ca585cd0556562db2",
100112
"δ»€δΉˆιƒ½ζ²‘ζœ‰.md": "2228e977ebea8966e27929f43e39cb67",
101-
"README.md": "5844997ffd21e5020ecaa7670e5d942e"
113+
"README.md": "5844997ffd21e5020ecaa7670e5d942e",
114+
"图片桋试.md": "0e71ded111d1d619f9693a3b48e20cc3",
115+
"ζ΅‹θ―•ζ–‡δ»Ά.md": "f0ccad7d3b2091db20689782f5b34cc5",
116+
"Welcome.md": "5dce4937496ad2d20178a7578f1a1368",
117+
"norcx'anki'test/ζœͺ命名.md": "68a672a3c453707a5db64bd4da5324c5",
118+
"ζœͺ命名.md": "d41d8cd98f00b204e9800998ecf8427e",
119+
"norcx'anki'test/ζŒ–η©Ίζ΅‹θ―•.md": "08d3f20ea7d3869cf4e63b8ad32533ae"
102120
},
103121
"fields_dict": {
104122
"Basic": [

β€Žsrc/file.tsβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,11 +432,11 @@ export class AllFile extends AbstractFile {
432432
let inserts = [];
433433
let regexp: RegExp = new RegExp(regexp_str, 'gm')
434434
for (let match of findignore(regexp, this.file, this.ignore_spans)) {
435-
if (match[0].includes("[Card]")) {
435+
if (match[0].includes("[πŸ”—]")) {
436436
continue; // ε¦‚ζžœεŒ…ε« "[Card]"οΌŒεˆ™θ·³θΏ‡ε½“ε‰εŒΉι…
437437
}
438438
let id: string = Math.random().toString(36).substring(2, 8)
439-
let modified:string ="\n"+"[Card]("+ this.formatter.getUrlFromLink( this.fullpath+"#^" + id )+") ^"+ id
439+
let modified:string ="\n"+"[πŸ”—]("+ this.formatter.getUrlFromLink( this.fullpath+"#^" + id )+") ^"+ id
440440
inserts.push([match.index + match[0].length, modified]);
441441
}
442442
this.file = string_insert(this.file, inserts);

0 commit comments

Comments
Β (0)