Drop coloring

This commit is contained in:
Zanie 2023-10-26 17:44:30 -05:00
parent a1bec32a7b
commit 3936bc119a
1 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,10 @@ def markdown_project_section(
def markdown_plus_minus(added: int, removed: int) -> str: def markdown_plus_minus(added: int, removed: int) -> str:
return f'<span style="color: green;">+{added}</span> <span style="color: red;">-{removed}</span>' # TODO(zanieb): GitHub does not support coloring with <span> it seems like the only
# way is to use LateX `${\text{\color{green}+10 \color{red}-10}}$` but
# it renders so ugly it's not worth doing yet
return f"+{added} -{removed}"
def markdown_details(summary: str, preface: str, content: str | list[str]): def markdown_details(summary: str, preface: str, content: str | list[str]):