Skip to content

Commit

Permalink
minimal tag box
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinschmitt committed Oct 27, 2024
1 parent ab1d835 commit 0f9073e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/bib2readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,7 @@ def to_string(self) -> str:
entry_str += "<br />_Reading this paper? Please consider contributing a TLDR summary._"

if self.awesome_tags:
tags_str = " ".join(
[
f'<span style="display: inline-block; padding: 0.2em 0.5em; margin: 0 0.5em 0.5em 0; font-size: 0.8em; background-color: #f0f0f0; border-radius: 3px;">{tag}</span>'
for tag in self.awesome_tags
]
)
tags_str = " ".join([f"┃🏷️ {tag}┃" for tag in self.awesome_tags])
entry_str += f"<br />{tags_str}"

if self.authors:
Expand Down

0 comments on commit 0f9073e

Please sign in to comment.