Colored codes



  • Evan

    So, I assume you're talking about Syntax Highlighting. If so, I have great news, Discord already offers it!

    You can use:
    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
    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!

  • JoCKeR-iL

    @discord please being this feature to mobile


Please sign in to leave a comment.