File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11# MinecraftColorCodes
2- This is my first JS file, so please, be patient if you find any bugs. I will try and fix it.
32Minecraft has it's own Color Code system, in which they use § characters.
4- This JS file I made will translate all color codes into HTML, so you can insert it in your website.
3+ This JS library I made will translate all color codes into HTML, so you can insert it in your website.
54
65##Installation
76Download this as a zip, and open the zip.
87Place MinecraftColorCodes.js in the directory you want.
9- In the file you have the string want to translate, link the JS file in your ``` head ``` tag.
8+ In the webpage you have the string want to translate, link the JS file in your ``` head ``` tag.
109Like so:
1110```
1211<head>
1312<script src="MinecraftColorCodes.js"></script>
1413</head>
1514```
15+ You can also link the JS file at the bottom of the webpage, right before the ``` body ``` tag.
16+
1617Now you can use it!
1718
1819##Usage
You can’t perform that action at this time.
0 commit comments