Skip to content

add more Annotations Symbols#2730

Merged
veloce merged 1 commit intolichess-org:mainfrom
HaonRekcef:evaluation-symbols
Mar 9, 2026
Merged

add more Annotations Symbols#2730
veloce merged 1 commit intolichess-org:mainfrom
HaonRekcef:evaluation-symbols

Conversation

@HaonRekcef
Copy link
Copy Markdown
Collaborator

Adds more annotation symbols.
Useful for studies or imported PGN games. Especially when sharing opening preperation via pgn this is essential.
I choose to keep the annotation all grey (on the website they have colors, but just kind of random https://github.com/lichess-org/lila/blob/feb34f75f9e29ba295b32ed54740471da0382444/ui/lib/src/game/glyphs.ts) and not color the notation (same as website)
Preview:

annotation_symbols.mp4

Supports all glyphs that are present on the website: https://github.com/lichess-org/scalachess/blob/3f96a2935ee2ee670def67632171ffcea7c96b6d/core/src/main/scala/format/pgn/Glyph.scala
Plus also some more that Chessbase uses.

Example pgn to test:
1. e4 $3 e6 $1 2. d4 $5 d5 $6 3. e5 $2 $18 c5 $4 4. c3 $18 Nc6 $16 5. Nf3 $14 Bd7 $11 6. Be2 $13 Nge7 $44 7. Na3 $15 cxd4 $17 8. cxd4 $19 Nf5 $132 9. O-O Qb6 $32 10. Kh1 $8 h5 $138 11. h4 $36 *

@veloce veloce merged commit 1cf2077 into lichess-org:main Mar 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants