This commit is contained in:
Stavros Korokithakis
2023-07-19 02:29:57 +03:00
parent 4645cf1d36
commit 1508f125a0
2 changed files with 45 additions and 45 deletions

View File

@@ -103,7 +103,7 @@ class Note:
"""
return (
" " * (level - 1)
) + f"{'- ' if level > 0 else ''}[{self.title}]({self.get_url()}.md)"
) + f"{'- ' if level > 0 else ''}[🗈 {self.title}]({self.get_url()}.md)"
def __lt__(self, other: Union["Folder", "Note"]) -> bool:
"""Support comparison, for sorting."""