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:
Jared Howland committed 2026-04-16 23:47:53 -06:00
1 parent 2071c01317
commit 1f48292e60
5 files changed
+26

No files matched your search

+1
View File
@@ -129,6 +129,7 @@ class TestMetadataFormatting:
# Check for YAML frontmatter metadata
assert 'ID: I1' in content
assert 'FamilySearch ID: G123-ABC' in content
assert 'Name: John Doe' in content
assert 'Sex: M' in content