Skip to content

Commit

Permalink
fix: suffix files with .md (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff authored Apr 2, 2024
1 parent 0426ba4 commit 6e6d57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memorymarker/persist_questions/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def clean_filename(filename: str) -> str:
def highlight_group_to_file(
output_dir: "Path", group: tuple[str, Sequence["ReasonedHighlight"]]
) -> None:
save_path = output_dir / clean_filename(group[0])
save_path = output_dir / f"{clean_filename(group[0])}.md"

with save_path.open(mode="a") as f:
for highlight in group[1]:
Expand Down

0 comments on commit 6e6d57e

Please sign in to comment.