Add notes to the popular projects

This commit is contained in:
Joe Rickerby
2020-12-12 12:18:24 +00:00
parent 677e51d137
commit 78b6f86305
2 changed files with 18 additions and 1 deletions
+2 -1
View File
@@ -99,7 +99,8 @@ class Project:
return " ".join(f"![{icon} icon][]" for icon in self.os)
def table_row(self) -> str:
return f"| {self.namelink: <{self.NAME}} | {self.ci_icons} | {self.os_icons} | {self.notes} |"
notes = self.notes.replace('\n', ' ')
return f"| {self.namelink: <{self.NAME}} | {self.ci_icons} | {self.os_icons} | {notes} |"
def links(self) -> str:
return f"[{self.name}]: {self.url}"