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$
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$
  • $\begingroup$ cool, thank you! $\endgroup$ – zeffii May 28 '13 at 10:38
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$
  • $\begingroup$ OK, if the beta grows this has a chance of happening? :) $\endgroup$ – zeffii May 24 '13 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$ – iKlsR May 24 '13 at 21:01
  • $\begingroup$ then whose door do we knock on for this? $\endgroup$ – zeffii May 24 '13 at 21:04
  • 2
    $\begingroup$ @zeffii I am thinking of emailing one of the SE mods or waiting till they see this. $\endgroup$ – iKlsR May 24 '13 at 21:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .