Merged
Conversation
veloce
approved these changes
Mar 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 *