Syntax coloring for code #35
tgunr
started this conversation in
Feature Requests
Replies: 4 comments
|
Hi @tgunr, thanks for the suggestion! Do you have an example of what you're thinking of? (The syntax highlighting part is clear to me, the question is to which kind of uploads should it be applied to). |
0 replies
|
I would think the easiest way would be to look at the file extension, ends in .swift, .c, etc would get syntax coloring if preference option is set, or a list of file extensions in the prefs.
… On Mar 19, 2024, at 14:37, Timo Josten ***@***.***> wrote:
Hi @tgunr <https://github.com/tgunr>, thanks for the suggestion! Do you have an example of what you're thinking of? (The syntax highlighting part is clear to me, the question is to which kind of uploads should it be applied to).
—
Reply to this email directly, view it on GitHub <#35 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAQRDBEMTO6TETOPPOPIMDYZCHYNAVCNFSM6AAAAABESK76TOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DQNBVGE2TM>.
You are receiving this because you were mentioned.
|
0 replies
|
Right, that would work. If landing pages are enabled, the landing page could generate a preview of the file with syntax highlighting enabled instead of just show a download link for certain file types. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Sure would be nice to have syntax coloring on an upload marked as code:swift code:C, etc
All reactions