Tools for the unicode Linter #
The actual linter is defined in TextBased.lean.
This file defines the blocklist and other tools used by the linter.
Following any unicode character, this indicates that the emoji variant should be displayed
Instances For
Following any unicode character, this indicates that the text variant should be displayed
Instances For
Prints a unicode character's codepoint in hexadecimal with prefix 'U+'. E.g., 'a' is "U+0061".
Instances For
Prints all characters in a string in hexadecimal with prefix 'U+'. E.g., "ab" is "U+0061;U+0062".
Instances For
Blocklist: If false, the character is not allowed in Mathlib.
Note: if true, a character might still not be allowed depending on context
(e.g. misplaced variant selectors).
Instances For
Provide default replacement (String) for a blocklisted character, or none if none defined
Instances For
Unicode symbols in mathlib that should always be followed by the emoji variant selector.
Instances For
Unicode symbols in mathlib that should always be followed by the text variant selector.