mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
added monaco editor to assignment page
This commit is contained in:
@@ -26,8 +26,9 @@ public record LocalQuizQuestion
|
||||
: $"[{correctIndicator}] ";
|
||||
|
||||
// var textWithSpecificNewline = answer.Text.Replace(Environment.NewLine, Environment.NewLine + " ");
|
||||
|
||||
var multilineMarkdownCompatibleText = answer.Text.StartsWith("```")
|
||||
? Environment.NewLine + answer.Text
|
||||
? Environment.NewLine + answer.Text
|
||||
: answer.Text;
|
||||
return $"{questionTypeIndicator}{multilineMarkdownCompatibleText}";
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user