feat: add FamilySearch ID to frontmatter
Add get_fs_id() to Individual to extract the _FSFTID tag (returns empty string if missing). Update MarkdownGenerator to include a "FamilySearch ID" line in output when present. Update test fixtures and add assertions: include _FSFTID in sample GEDCOM, add unit test for get_fs_id (presence and absence), and check the generated markdown contains the FamilySearch ID. Ensures FS Tree IDs are surfaced without breaking behavior when tag is absent.
This commit is contained in:
5 files changed
+26
No files matched your search
@@ -41,6 +41,7 @@ def sample_gedcom_content():
|
||||
1 NAME John /Doe/
|
||||
2 GIVN John
|
||||
2 SURN Doe
|
||||
1 _FSFTID G123-ABC
|
||||
1 SEX M
|
||||
1 BIRT
|
||||
2 DATE 1 JAN 1950
|
||||
|
||||
Reference in new issue
Block a user