Browse Source

Format the annotations to be less obtrusive

tags/3.0.0
Fabian Winter 1 month ago
parent
commit
79057cb1a6
2 changed files with 1303 additions and 1302 deletions
  1. 1
    1
      extract_emojis.py
  2. 1302
    1301
      rofimoji.py

+ 1
- 1
extract_emojis.py View File

@@ -113,7 +113,7 @@ def compile_entries(emojis: List[Emoji], annotations: Dict[chr, List[str]]) -> L
annotated_emojis = []
for emoji in emojis:
if emoji.char in annotations:
entry = f"{emoji.char} {emoji.name} ({', '.join(annotations[emoji.char])})"
entry = f"{emoji.char} {emoji.name} <small>({', '.join(annotations[emoji.char])})</small>"
else:
entry = f"{emoji.char} {emoji.name}"


+ 1302
- 1301
rofimoji.py
File diff suppressed because it is too large
View File


Loading…
Cancel
Save