Syntax highlighted code - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html) +--- Forum: Board (https://python-forum.io/forum-26.html) +--- Thread: Syntax highlighted code (/thread-129.html) |
Syntax highlighted code - buran - Sep-21-2016 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 RE: Syntax highlighted code - metulburr - Sep-21-2016 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. RE: Syntax highlighted code - buran - Sep-23-2016 I see... Thanks, metulburr |