Colored codes
It would be nice if the codes that we write to each other could be colored so we can easily see what what is. We could have a little drop down/up menu beside the typing area so we can choose which we use at that moment. A little bit like the mcfunction in Atom.
10
-
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
Please sign in to leave a comment.
Comments
2 comments