TML provides the capability to define custom character entities. TML character entities take the same form as standard HMTL character entities. For example, &myEntity; will insert the custom Template or string associated with myEntity.
The built-in entities are defined in the charEntity.js file. When TML encounters an entity string, it inserts a CharEntity component that will extract the entity’s value (a string, a Template object, or an array of string and/or Template objects) and insert it as its contents. Many, but not all, standard HTML entities are supported.
Some entities have slightly different names for clarity.
| Entity | Symbol | Description |
|---|---|---|
° |
° | Degree symbol |
&plusMinus; |
± | plus-minus symbol |
± |
± | plus-minus symbol |
“ |
“ | Left double quotation mark |
” |
” | Right double quotation mark |
&upArrow; |
↑ | Up arrow |
&upArrowD; |
⇑ | Up double arrow |
&rightArrow; |
→ | Right arrow |
&rightArrowD; |
⇒ | Right double arrow |
&downArrow; |
↓ | Down arrow |
&downArrowD; |
⇓ | Down double arrow |
&leftCaret; |
◀ | left caret |
&upCaret; |
▲ | up caret |
&rightCaret; |
▶ | right caret |
&downCaret; |
▼ | down caret |
&leftArrow; |
← | Left arrow |
&leftArrowD; |
⇐ | Left double arrow |
• |
∙ | Bullet mark |
&hamburger; |
☰ | Three line menu symbol |
≈ |
≈ | Appromation symbol |
& |
& | Ampersand |
< |
< | Less than symbol |
≤ |
≤ | Less than or equal symbol |
> |
> | Greater than symbol |
≥ |
≥ | Greater than or equal symbol |
+ |
+ | Plus sign |
− |
− | Minus sign |
| Entity | Symbol | Description |
|---|---|---|
  |
Em space | |
  |
En space | |
  |
Very thin (Hair) space | |
|
Non-breaking space | |
&nnbsp; |
Narrow non-breaking space | |
&numNbsp; |
Number non-breaking space | |
  |
Number space | |
  |
Punctuation space | |
&thinNbsp; |
Thin non-breaking space | |
  |
Thin space | |
&lineBreak; |
Line break: <br />. |
|
&nobreak; |
| Word join |
&nbhy; |
‑ | Non-breaking hyphen |
­ |
| Soft hyphen (hyphen placement suggestion) |
| Entity | Symbol | Description |
|---|---|---|
&info; |
A information (tip) symbol | |
&mediaPause; |
Media pause symbol | |
&mediaPlay; |
Media play symbol | |
&mediaNext; |
Media next symbol | |
&mediaDown; |
Media down symbol, down caret | |
&mediaUp; |
Media up symbol, up caret | |
&mediaLeft; |
Media left symbol, left caret | |
&switch; |
Left-right arrow (centered vertically) | |
&rightChevron; |
Right chevron | |
&downChevron; |
Down chevron | |
&upChevron; |
Up chevron | |
&leftChevron; |
Left chevron | |
&delete; |
Delete symbol | |
&directTo; |
Direct-To symbol | |
&selectorSym; |
Selector symbol | |
&gear; |
Gear symbol | |
&trash; |
Trash can symbol | |
&user; |
User symbol | |
&sync; |
Sync symbol |