updated to add advanced extensions to markdown

This commit is contained in:
2024-03-26 13:42:10 -06:00
parent 9ffd60ac84
commit a9269c8d2b
13 changed files with 42 additions and 32 deletions

View File

@@ -1,8 +1,3 @@
using System.Collections;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Text.RegularExpressions;
using YamlDotNet.Serialization;
namespace LocalModels;
@@ -30,7 +25,7 @@ public record LocalAssignment : IModuleItem
public string GetDescriptionHtml()
{
return Markdig.Markdown.ToHtml(Description);
return MarkdownService.Render(Description);
}
public ulong? GetCanvasAssignmentGroupId(IEnumerable<LocalAssignmentGroup> assignmentGroups) =>