We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6adabed commit 2e7128aCopy full SHA for 2e7128a
src/main.ts
@@ -70,6 +70,7 @@ export default class AnkiLink extends Plugin {
70
);
71
} catch (error) {
72
console.error(error);
73
+ // TODO: Provide the user with a more helpful error message.
74
new Notice("Failed to sync flashcards. Check console for details.");
75
}
76
src/syncUtil.ts
@@ -154,7 +154,7 @@ function parseDocument(lines: string[]): ParsedNoteData[] {
154
function parseBody(lines: string[]) {
155
const bodyLines: string[] = [];
156
for (const line of lines) {
157
- // Stop when we reach the next flashcard preamble.
+ // Stop early if we reach another flashcard preamble.
158
if (parsePreamble(line)) {
159
return bodyLines;
160
0 commit comments