mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
working on markdown quiz experience
This commit is contained in:
@@ -66,7 +66,7 @@ Description: {Description}
|
||||
|
||||
var questions = splitInput[1..]
|
||||
.Where(str => !string.IsNullOrWhiteSpace(str))
|
||||
.Select(q => LocalQuizQuestion.ParseMarkdown(q))
|
||||
.Select((q, i) => LocalQuizQuestion.ParseMarkdown(q, i))
|
||||
.ToArray();
|
||||
return quizWithoutQuestions with
|
||||
{
|
||||
@@ -128,3 +128,11 @@ Description: {Description}
|
||||
return string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
public class QuizMarkdownParseException : Exception
|
||||
{
|
||||
public QuizMarkdownParseException(string message): base(message)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user