With new user-app feature you can now have mcfunction highlight everywhere in discord. To obtain it just click [Authorize]. The app also open source btw
showc.mp4
If you want to use the highlighter in your project, please leave credit to the original github repo.
- Downlaod
database.json
and put it in your project folder.
- Download
main.py
and put it in your project folder. - From highlighter import class
Hl
in your code. - Use
Hl.highlight("<Your function here>")
to get the ansi highlighted function.
- Download
main.js
and put it in your project folder. - Import
Hl
class from highlighter in your code. - Use
Hl.highlight("<Your function here>")
to get the ansi highlighted function.
Note: if database.json
not in the folder where your code is running, change path to it in highlighter's main.py