From 3936bc119a7b22e69f88baded2ff03a7d388a009 Mon Sep 17 00:00:00 2001 From: Zanie Date: Thu, 26 Oct 2023 17:44:30 -0500 Subject: [PATCH] Drop coloring --- python/ruff-ecosystem/ruff_ecosystem/markdown.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/ruff-ecosystem/ruff_ecosystem/markdown.py b/python/ruff-ecosystem/ruff_ecosystem/markdown.py index e0154834f9..80f11f0cb2 100644 --- a/python/ruff-ecosystem/ruff_ecosystem/markdown.py +++ b/python/ruff-ecosystem/ruff_ecosystem/markdown.py @@ -18,7 +18,10 @@ def markdown_project_section( def markdown_plus_minus(added: int, removed: int) -> str: - return f'+{added} -{removed}' + # TODO(zanieb): GitHub does not support coloring with 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]):