You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alex Gorbatchev edited this page Feb 20, 2016
·
5 revisions
These instructions apply to v4 and up. If you are looking for instructions for older version, please see the original manual.
💰 💰 💰 Please click here to donate via PayPal and just like they say on TV – give generously! It motivates me to keep working on this (12 years now and counting).
SyntaxHighlighter exposes CommonJS API.
Using a Brush
This works in the browser and in Node.js. See the API for more details.
importPhpBrushfrom'brush-php';constbrush=newPhpBrush();consthtml=brush.getHtml('/* hello foo bar world! /*',{gutter: false});
Using SyntaxHighlighter
This only works in the browser. See the API for more details.