DotVVM.Contrib.HighlightJS

The HighlightJS control for DotVVM made by DotVVM Contrib community.


Keywords
asp.net, dnx, dotnetcore, dotvvm, mvvm, owin
License
MIT
Install
Install-Package DotVVM.Contrib.HighlightJS -Version 4.2.1

Documentation

DotVVM.Contrib.HighlightJS

Implementation of HighlightJS HighlightJS WEB into DOTVVM Contrib.

Used HighlightJS version: 11.9.0 + LineNumbers plugin 2.8.0 GITHUB WCODER

Sample 1:

You can do this:

<dc:HighlightJS Code="{value: Code}" Language="cisco" LineNumbersEnabled="true" />  

Sample 2:

You can do this:

<dc:HighlightJS Code="{value: Code}" Language="javascript" />