How to Use this Skin Object

The skin object can be used successfully with no attributes specified at all. This will allow you to use the the most common combination of syntax highlighters you'd need for DNN examples, including SQL, HTML, CSS, JS, and more. It also will apply the default PrismJS theme.

<%@ Register TagPrefix="wns" TagName="PRISMJS" src="~/DesktopModules/WillStrohl.PrismJS/PrismJS.ascx" %>
<wns:prismjs runat="server" />

If you want to specify different options for your syntax highlighting needs, the possible attributes are listed below.

Script expects the following possible values:

Theme expects the following possible values:

A common example for DNN might look like the following:

<%@ Register TagPrefix="wns" TagName="PRISMJS" src="~/DesktopModules/WillStrohl.PrismJS/PrismJS.ascx" %>
<wns:prismjs runat="server" Script="dnn" Theme="coy" />