-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syntax highlighting for code #297
Comments
There usually is, it's just a little hard to identify whether a block is code or text, and what language sould be used to highlight in that case. For instance, we don't yet check for language tags, we just use some reasonable heuristics. Could you provide a link to that post so that we can figure out what to do? |
@Malabarba http://stackoverflow.com/questions/31167228/python-list-to-dict-conversion-confusion thanks for amazing sx.el!! |
Ok thanks. This is indeed one of those cases that would be solved if we took question tags into consideration. |
Will it be slow if we toggle syntax highlight on big source code block? |
@stardiviner |
I see. That's great. |
Any progress on this? It seems like it should be fairly easy to implement and it would really help when reading posts that have a lot of code. |
No progress as of yet that I'm aware of (both of us are very busy and really can only find the time for things we need at this moment), but pull requests are welcome! |
@vermiculus Alright. Do you think you could give any advice on where to start for implementing this? |
You're going to want to start around |
it will be good if there is syntax highlighting for code.
The text was updated successfully, but these errors were encountered: