Skip to content

Commit d34633d

Browse files
authored
Add unicode tag to text tutorial (#66)
1 parent 018ba91 commit d34633d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/templates/text.html

+11
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,17 @@ <h2 class="title">Other Styles</h2>
324324
to recognize it. For others, it can be any text you'd like (you can make
325325
player run invalid commands if you wish).
326326
</p>
327+
<h2 class="title">Unicode</h2>
328+
<p>
329+
Skript supports Unicode characters in any text. To add them to your scripts,
330+
simply paste the character inside the text, or use the provided Unicode tag.
331+
The tag uses the character's codepoint to replace it with the actual character
332+
when the text is loaded.
333+
</p>
334+
<div class="box skript-code-block left-margin">
335+
"hello &lt;u:1F41B&gt;" # hello 🐛<br>
336+
"&lt;unicode:03B5&gt; &lt;unicode:2245&gt; &lt;unicode:0194&gt;, right?" # ε ≅ Ɣ, right?
337+
</div>
327338
<h2 class="title">Text and Variables</h2>
328339
<p class="subtitle">
329340
Variable names are text, but obviously formatting that text does no

0 commit comments

Comments
 (0)