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

@@ -6,7 +6,7 @@ namespace LocalModels;
public record LocalQuizQuestion
{
public string Text { get; init; } = string.Empty;
public string HtmlText => Markdig.Markdown.ToHtml(Text);
public string HtmlText => MarkdownService.Render(Text);
public string QuestionType { get; init; } = string.Empty;
public int Points { get; init; }
public IEnumerable<LocalQuizQuestionAnswer> Answers { get; init; } =