Colored codes
-
So, I assume you're talking about Syntax Highlighting. If so, I have great news, Discord already offers it!
You can use:
```language
code
```
in order to show highlighted code in a particular programming language on Desktop (on Mobile this still doesn't show the highlighting, Discord please!)Here's an example in Python
```python
def hello(person):
if not person:
person = "world"
print(f"Hello, {person}!")
```
This does not yet support Minecraft function files specifically, but, that appears to be because Discord uses a third party library for syntax highlighting and they don't yet support it!-1 -
@discord please being this feature to mobile
0
Comments
2 comments