Python Forum
Syntax highlighted code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Syntax highlighted code
#1
I assume it's me doing something wrong, but anyway:
if I try to insert shcode (using 'Insert a shcode' buton) it is not syntax highlighted or even preformated as code:
[shcode=python]
def foo():
    pass
[/shcode]




No problem to insert syntax highlighted python code with the 'Python' code button:

def foo():
    pass
Reply
#2
shcode code tag is a plugin that we added. However there were problems with that plugin escaping incorrect characters.

Python code box is actually PHP button reskin. But we are still working on it.
Recommended Tutorials:
Reply
#3
I see... Thanks, metulburr
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020