Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/apyanki/anki.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,19 +529,19 @@ def add_notes_from_file(
filename: str,
tags: str = "",
deck: str | None = None,
respect_note_ids: bool = True,
update_origin_file: bool = False,
respect_note_ids: bool = True,
) -> list[Note]:
"""Add notes from Markdown file

Args:
filename: Path to the markdown file containing notes
tags: Additional tags to add to the notes
deck: Default deck for notes without a deck specified
update_origin_file: If True, update the original file with note IDs
respect_note_ids: If True, then this function looks for nid: or cid: headers
in the file to determine if a note should be updated
rather than added.
update_origin_file: If True, update the original file with note IDs

Returns:
List of notes that were updated or added
Expand Down