diff --git a/Management.Web/Pages/QuizFormPage.razor b/Management.Web/Pages/QuizFormPage.razor index 01d5136..8ec6f35 100644 --- a/Management.Web/Pages/QuizFormPage.razor +++ b/Management.Web/Pages/QuizFormPage.razor @@ -102,6 +102,44 @@ $"https://snow.instructure.com/courses/{planner.LocalCourse?.Settings.CanvasId}/quizzes/{quizInCanvas?.Id}"; private int? quizPoints => quizContext.Quiz?.Questions.Sum(q => q.Points); + private bool showHelp = false; + + private readonly static string exampleMarkdownQuestion = @"QUESTION REFERENCE +--- +Points: 2 +this is a question? +*a) correct +b) not correct +--- +points: 1 +question goes here +[*] correct +[ ] not correct +[] not correct +--- +the points default to 1? +*a) true +b) false +--- +Markdown is supported + +- like +- this +- list + +[*] true +[ ] false +--- +This is a one point essay question +essay +--- +points: 4 +this is a short answer question +short_answer +--- +points: 4 +the underscore is optional +short answer"; }
+ @exampleMarkdownQuestion ++ }
- @exampleMarkdownQuestion -- } +
Error: @error
@@ -124,12 +81,4 @@ short answer";