Feature request: Syntax highlighting in code blocks #85
Labels
No milestone
No project
No assignees
5 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: distok/cutthecord#85
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Not sure how hard this is with patches, but is it possible to make code blocks work something like I described here?
https://support.discord.com/hc/en-us/community/posts/360032435351/comments/360014868273
I'm unable to view that URL
Screenshot of the mockup:
@a Sorry, pasted the wrong link, I've fixed it now
Ah, you want syntax highlighting on code blocks. It was asked before. I don't think the text rendering bits are explored enough. I will keep the issue open, but I don't think we can come up with something for that until it's explored further I'm afraid.
OK, well thank you anyway
Isn't there syntax highlighting support in newer alpha/beta builds of Discord Android as of recent anyways? The only issue with it at the current moment is certain languages going unsupported.
Discord is adding language highlighting itself, i think this issue can be closed. For now discord android app has highlighting for
Kotlin, Python, Rust, XML, ProtoBuff
(https://github.com/discord/SimpleAST/pull/18)Didn't know that, sorry. The other features in the mockup like scrolling would be nice, but maybe not practical? Do you think I should close this now or leave it open for those?
It should be as the carxstreetapk has. It looks good.