Colorize the code tags
Page 1 of 1
Colorize the code tags
Colorize the code tags |
This tutorial will help you with coloring the contents of the code tags just like in the following example : 1. Installing the JavaScriptFirstly, you must create a new script by going to Modules > JavaScript codes management. Make sure JS codes management is enabled and then create a new script with the following settings. Title : Code syntax highlighter Placement : In the topics
Save the script when you're finished. 2. Installing the CSSLastly, you need to add a bit of CSS to your stylesheet to color the formatted code. Go to Display > Colors > CSS stylesheet and paste the following CSS rules* :
Click submit when you're done, and it is now installed ! *You can preview the other themes here, and the corresponding CSS files via Github. |
This tutorial was written by the staff of the French Support Forum, and translated by Ange Tuteur. |
Similar topics
» colorize code problem
» what is the wow code tags for?
» [code] Tags
» Are [code] tags disabled?
» Where to put code so it is in body tags?
» what is the wow code tags for?
» [code] Tags
» Are [code] tags disabled?
» Where to put code so it is in body tags?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum