Syntax.js - Theme

This is a basic example of how to use Syntax.js uses override Theme CSS files.

                        var something = true;
        
                        if ( something ) {
                            console.log( "Output is written." ); // Comment
                            
                            /* Multi-line
                            comment */
                        }
                    
                        

Syntax.js - Basic

This is a basic example of how to use Syntax.js to highlight code inside a DOM element.