mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
added border around today
This commit is contained in:
@@ -9,7 +9,7 @@ public record CanvasQuizAnswer
|
||||
public required string Text { get; init; }
|
||||
|
||||
[JsonPropertyName("html")]
|
||||
public required string Html { get; init; }
|
||||
public string? Html { get; init; }
|
||||
|
||||
[JsonPropertyName("weight")]
|
||||
public double Weight { get; init; }
|
||||
|
||||
@@ -4,7 +4,8 @@ public record LocalQuizQuestion
|
||||
{
|
||||
public ulong? CanvasId { get; set; }
|
||||
public string Id { get; set; } = "";
|
||||
public string Text { get; init; } = string.Empty;
|
||||
public string Text { get; init; } = string.Empty;
|
||||
public string HtmlText => Markdig.Markdown.ToHtml(Text);
|
||||
public string QuestionType { get; init; } = string.Empty;
|
||||
public int Points { get; init; }
|
||||
public IEnumerable<LocalQuizQuestionAnswer> Answers { get; init; } =
|
||||
|
||||
@@ -8,4 +8,6 @@ public record LocalQuizQuestionAnswer
|
||||
//correct gets a weight of 100 in canvas
|
||||
public bool Correct { get; init; }
|
||||
public string Text { get; init; } = string.Empty;
|
||||
|
||||
public string HtmlText => Markdig.Markdown.ToHtml(Text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user