mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
can update stored quiz with markdown editor
This commit is contained in:
@@ -30,10 +30,12 @@ public record LocalQuizQuestion
|
||||
return $"{questionTypeIndicator}{textWithSpecificNewline}";
|
||||
});
|
||||
var answersText = string.Join(Environment.NewLine, answerArray);
|
||||
var questionTypeIndicator = QuestionType == "essay" || QuestionType == "short_answer" ? QuestionType : "";
|
||||
|
||||
return $@"Points: {Points}
|
||||
{Text}
|
||||
{answersText}";
|
||||
{answersText}
|
||||
{questionTypeIndicator}";
|
||||
}
|
||||
|
||||
private static readonly string[] validFirstAnswerDelimiters = new string[] { "*a)", "a)", "[ ]", "[*]" };
|
||||
|
||||
Reference in New Issue
Block a user