diff --git a/src/components/boards/AnnotationHint.tsx b/src/components/boards/AnnotationHint.tsx
index 6081cc24..c0beeeb1 100644
--- a/src/components/boards/AnnotationHint.tsx
+++ b/src/components/boards/AnnotationHint.tsx
@@ -30,7 +30,7 @@ export default function AnnotationHint({
}}
>
- {isBasicAnnotation(annotation) && (
+ {
{glyphToSvg[annotation]}
- )}
+ }
);
}
// taken from lichess https://github.com/lichess-org/lila/blob/b7d9abb9f624b1525804aeb49a5b2678f23aae09/ui/analyse/src/glyphs.ts#L49C1-L85
-const glyphToSvg = {
- "?!": (
+const glyphToSvg: Record = {
+ "": <>>,
+ "!": (
<>
+ >
+ ),
+ "!!": (
+ <>
+
>
),
@@ -97,25 +106,158 @@ const glyphToSvg = {
>
),
- "!": (
+ "?!": (
<>
>
),
- "!!": (
+ "+-": (
<>
+ >
+ ),
+ "±": (
+ <>
+
+ >
+ ),
+ "⩲": (
+ <>
+
+ >
+ ),
+ "=": (
+ <>
+
+ >
+ ),
+ "∞": (
+ <>
+
+ >
+ ),
+ "⩱": (
+ <>
+
+ >
+ ),
+ "∓": (
+ <>
+
+ >
+ ),
+ "-+": (
+ <>
+
+ >
+ ),
+ N: (
+ <>
+
+ >
+ ),
+ "↑↑": (
+ <>
+
+ >
+ ),
+ "↑": (
+ <>
+
+ >
+ ),
+ "→": (
+ <>
+
+ >
+ ),
+ "⇆": (
+ <>
+
+ >
+ ),
+ "=∞": (
+ <>
+
+ >
+ ),
+ "⊕": (
+ <>
+
+ >
+ ),
+ "∆": (
+ <>
+
+ >
+ ),
+ "□": (
+ <>
+
+ >
+ ),
+ "⨀": (
+ <>
+
>
),