UNPKG

highlightjs-cshtml-razor

Version:

highlight.js syntax definition for ASP.NET Razor CSHTML language

31 lines (24 loc) 807 B
# Changelog All notable changes to this project will be documented in this file. ## [2.2.0] - 2025-06-26 - Fixed "Polynomial backtracking" vulnerability - Updated version of hljs ## [2.1.2] - 2025-06-25 - Fix incorrect processing '>' symbols inside strings in code blocks - Split tests to simplify its running ## [2.1.0] - 2021-04-14 - Add the dist directory, and a minified version of the script ## [2.0.1] - 2021-03-02 ### Fixed - Fix inline razor blocks inside tag attributes (inside double quotes) ## [2.0.0] - 2020-09-28 ### Added - Support the @code directives ### Changed - Update dependency on highlight.js (support 10.0) ## [1.2.0] - 2019-09-13 ### Added - Support the @pages directive - Support razor comments ### Changed - Update dependency on highlight.js