8
$\begingroup$

maybe im missing something.. but this should show some colours at the very least. (insert some generic python here)

for i in range(40): print("something") 

I understand that the syntax highlighting isn't a big deal for some people, but having to run a plugin in my browser to highlight code on sites doesn't sit well with me. If we can have these kbd tags, there is no acceptable reason to not have decent basic syntax highlighting. (unless that would require the parser to import bpy.. )

$\endgroup$
0

2 Answers 2

8
$\begingroup$

I got the email from iKlsR regarding this request.

I have now enabled highlighting of code section by default - using the default of python.

From the few posts I have looked at that do have python, it looks good. Let me know if there are any issues with this.

$\endgroup$
0
1
$\begingroup$

It should work, by adding <!-- language: lang-py --> at the top but oddly it doesn't seem to work here..

def __init__(self): pass 
$\endgroup$
4
  • $\begingroup$ OK, if the beta grows this has a chance of happening? :) $\endgroup$ Commented May 24, 2013 at 20:59
  • $\begingroup$ @zeffii see my comment on the question, based upon what I have learnt, it is enabled upon request, so quite possibly yes. $\endgroup$ Commented May 24, 2013 at 21:01
  • $\begingroup$ then whose door do we knock on for this? $\endgroup$ Commented May 24, 2013 at 21:04
  • 2
    $\begingroup$ @zeffii I am thinking of emailing one of the SE mods or waiting till they see this. $\endgroup$ Commented May 24, 2013 at 21:04

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.