Swap out syntax highlighing library for one that's .NET Core compatible.
This commit is contained in:
parent
edb1f99387
commit
e77298ae54
3 changed files with 96 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
using Markdig;
|
||||
using Markdig.SyntaxHighlighting;
|
||||
using Pek.Markdig.HighlightJs;
|
||||
using Website.Models;
|
||||
|
||||
namespace Website.ViewModels
|
||||
|
@ -41,7 +41,7 @@ namespace Website.ViewModels
|
|||
//.UseAdvancedExtensions()
|
||||
.UseAutoLinks()
|
||||
.UseSoftlineBreakAsHardlineBreak()
|
||||
.UseSyntaxHighlighting()
|
||||
.UseHighlightJs()
|
||||
.Build();
|
||||
|
||||
public int Id { get; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue