Closed SommerEngineering closed 1 month ago
Recently code related to highlight.js
has been changed, so most likely it's the cause of the issue. The exception seems to come from the js file and it makes the assumption more plausible.
I need to investigate why highlight.js
that is used in the package does not recognise razor
π’
According to https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md it seems that highlightjs-cshtml-razor also needs to be added to npm packages.. so let's see whether it solves the issue.
Thanks for this great library π.
I am encountering an exception when using a Markdown code block with an unknown language, in this case
razor
:I have checked whether the
markdig
library is responsible for the error. However, it seems likemarkdig
is not the source of the problem, as demonstrated by the following working code:"""); Console.WriteLine(result);