Colored codes


2 Kommentare

  • 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!

    Aktionen für Kommentare Permalink
  • JoCKeR-iL

    @discord please being this feature to mobile

    Aktionen für Kommentare Permalink

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.