Coloured code blocks

評論

49 條評論

  • TimeTravelPenguin

    Here is a mock image I made. I really hope this gets added, soon!

    12
  • jspp

    Colored code blocks on mobile would be an amazing addition and move Discord one step further to being a great platform not just for gamers, but also for developers.

    8
  • annafire88

    Adding another vote on this in the hopes it becomes a reality.

    This would be a great addition for both coders and non-coders that use code blocks for their server rules and similar. Right now the code blocks are bland and dull on mobile. Plus its hard to properly use a code block on mobile when you aren't 100% sure what it looks like on desktop lolz

    6
  • SnowFlake
    That would be very nice, I do feel like it's a needed change
    5
  • Elite

    This would be a great help to the majority of servers I'm a part of - There are times where tons of individuals in these servers don't have access to their desktop, and need quick coding advice, on the go!

    Well what if the people answering are also "on the go"?

    The syntax being gray, instead of color-coordinated makes it difficult to read when you're on the phone, and it makes it that much more difficult for individuals to easily assist others as efficiently.

    ---

    This post gets a +1 from me

    5
  • circuit10

    My mockup thing:

    Normal:

    5
  • jTurp

    Likewise, I’d really like to see this on iOS! It’s such a pain to read code without it on mobile!

    4
  • Alexis

    yeah that would really be nice!

    Mobile deserves same chances as desktop ;p

    4
  • George WL⚡

    The mobile app still hasn't got colours on code blocks, even though I know the module to do so is less than 12kb in size and runs on basically everything.

    4
  • veksen

    May the PO pull it to the top of the backlog :D

    It is much needed for the programming communities that are ever growing on Discord.

    4
  • DEM0N194

    Wouldn't be the code needed for this feature be almost the same as for desktop? What's taking you so long?

    4
  • WhoNeedszZz

    Is it too much to ask for Discord support to actually respond to these requests? As mentioned, adding the functionality is trivial and this is now a year old. What's the excuse for why there isn't a major feature parity between desktop and mobile. Programming communities are growing steadily on Discord, but not being able to read the code blocks on mobile is a major problem. I've been a major supporter of Discord since the beginning, but things like this makes me not want to take it seriously for a programming community.

    4
  • Veit.dev

    Hey 👋,

    Same problem with code highlighting:



      (P.s swift is not really swift like highlighted 😔 )

    3
  • ÜberUser

    This would definitely be a marked improvement, and hopefully not too complex to implement given the existing framework for the desktop client. Giving this a +1 in the hopes that the Discord devs pick up on this thread :)

    3
  • JaAnton

    This is really a problem. Code blocks exists for a reason.

    3
  • circuit10

    Also word wrap should be disabled so you can scroll instead

    3
  • circuit10

    Made a (slightly) interactive demo (works best on mobile or a resized window):

    https://mobile-code-mockup.heathmitchell1.repl.co/

    3
  • circuit10

    Notice that text size is a bit smaller so you can see more code, word wrap is off and it has syntax highlighting

    3
  • Blake 🧙♂

    PLEASE DO THIS SOON

    3
  • Elite

    @circuit10 I like the scroll option, however I think it would be a more reasonable approach to adapt it based on screen size, instead of forcing it on device type - Either way, it would fix word wrap issue, but it doesn't add a scroll bar, unless it absolutely needs to.

    3
  • veryfoodverygood

    please add this!

    2
  • bash

    +1 for sure. Neither mobile apps have syntax highlighting and would be a much welcomed feature.

    2
  • Blake 🧙♂

    Second and third this

    2
  • Blake 🧙♂

    +1 +1 +1

    2
  • blockingthesky

    Bump. I use Discord for communicating with my programming team and teaching students sometimes, so I send a lot of snippets. I mostly use desktop so I didn't realize until today there's no highlighting on mobile; however I know lots of my friends use mobile to read those messages.

    The syntax highlighting helps a lot to make it readable on the smaller screen. A few extra colors go a long way! Thanks for all you do, Discord team.

    2
  • MindTooth

    Recently got myself an iPad Pro, and being a student who share a lot of code.  Not having the syntax highlight on iPad is a major regression of functionality.

    2
  • DEM0N194

    Bump, I'd love to have syntax highlighting on mobile as well

    1
  • DEM0N194

    +1 I hope this feature gets implemented soon ... It can't be that hard

    1
  • locastan

    +1 For this being implemented soon. I use color code blocks for neatly coloring Inventory on a discord RPG bot I code.

    Mobile users have been asking why I am using weird brackets and .underscore_linked_text. :D

    1
  • CrazyInfin8

    Syntax highlighting can colorize information and rules and information to make it more readable and nicer to look at. Good for making menus with bots as well

    1

登入寫評論。