-
As the Crafty team is setting up our wiki some editors have requested Syntax highlighting. I'm going to look into implementing this with Pygments. This may be a major change and might add significant overhead to the server. to that end:
|
Beta Was this translation helpful? Give feedback.
Answered by
TrueBrain
Mar 30, 2022
Replies: 1 comment 6 replies
-
Honestly, I would think any syntax highlighter should be client-side javascript, which can optionally be loaded by the client. I am not sure why this should be done server-side? (I do not know Pygments, so I have no clue how it implemented it :P) |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
Qrbaker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Honestly, I would think any syntax highlighter should be client-side javascript, which can optionally be loaded by the client. I am not sure why this should be done server-side?
(I do not know Pygments, so I have no clue how it implemented it :P)