obsidian-spaced-repetition
obsidian-spaced-repetition copied to clipboard
Add custom cloze tokens
I have decided to implement custom cloze tokens (closes #556) myself.
For now, I have simply added two text field settings defaulted to empty. Empty means not using any custom cloze tokens. The existing three cloze settings are kept.
Edit: also closes #387
I did some digging around and found that this should also fix #387.
On Sun, Jan 22, 2023 at 12:56 PM polyipseity @.***> wrote:
I have decided to implement custom cloze tokens (#556 https://github.com/st3v3nmw/obsidian-spaced-repetition/issues/556) myself.
For now, I have simply added two text field settings defaulted to empty. Empty means not using any custom cloze tokens. The existing three cloze settings are kept.
You can view, comment on, or merge this pull request online at:
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607 Commit Summary
- c056f10 https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/commits/c056f103525dfef50db78b834cf99f7d6f26b8ff Add settings to use custom cloze tokens
File Changes
(15 files https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files)
- M README.md https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 (2)
- M docs/en/flashcards.md https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-8cc885551e0a2fcae0e7002501293ad90a67f9305ea2199fed39146dbbbae68e (2)
- M src/lang/locale/cz.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-31dda5ed9bfd3bfc9678aa47835a033d490c4412319fbf893c36e910c7e499cb (3)
- M src/lang/locale/de.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-d543e2957ec07178642534615ce862c1a0e6ca85b6fb8dff84fdb0a1bfdd9097 (3)
- M src/lang/locale/en.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-c38aa16c41b3b29b50dabe9019a87924f34a96ad250e28a12ea8375d856c0e4b (3)
- M src/lang/locale/ja.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-a87c53c5a6c01a49ac708ac7e0dbb2b6d463c1b65346b5f9e0ac5b4392b6b598 (3)
- M src/lang/locale/ko.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-016790ca11979c1fc70969d32e56919fa04f0276bf931b282cbc3d6d8f097fae (3)
- M src/lang/locale/pt-br.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-041c59d08b157910be1e73205841a67341c67e20f2230f8f4ab41c62f2d52f54 (3)
- M src/lang/locale/ru.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-ab932df2451b4031c93548f415b1cacc8fb0773826da9a0e9b3dc44d880912d7 (3)
- M src/lang/locale/zh-cn.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-5f9d01164ce0665e6a55b49cacd225132eaad222657007ae84d755c1a7ac47c3 (3)
- M src/lang/locale/zh-tw.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-530984cd3bab390759203c647aff73652d1952533349d90e74059783d935ddf1 (3)
- M src/main.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3d (17)
- M src/parser.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-abe2818e9c29aadf84401cb7ef8286c7cbce9253eba09f6fa52e22ca4e57b17e (10)
- M src/settings.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-bb57a3bd912abc3ec2e729cb8a743838487677a5517683d0c8913a3619ac296a (56)
- M tests/parser.test.ts https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-39dce1fd57555dfe5477411b84ee192779f2ef703a9e24c413bf52fdf400380a (53)
Patch Links:
- https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607.patch
- https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607.diff
— Reply to this email directly, view it on GitHub https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGXX6WJEMAYU2CFQJMK2WTWTS4ZDANCNFSM6AAAAAAUCY37JY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
it seems pretty good, @st3v3nmw hope the master branch will merge it soon.
Done, not too hard.