feat(challenge-parser): add feedback to mc questions (#51942)

This commit is contained in:
Tom
2023-11-02 01:28:53 -05:00
committed by GitHub
parent 7e1f7e060a
commit bce1b9915b
28 changed files with 346 additions and 42 deletions
@@ -33,10 +33,19 @@ exports[`challenge parser it should parse video questions 1`] = `
</section>",
"question": {
"answers": [
"<p>Some inline <code>code</code></p>",
"<p>Some <em>italics</em></p>
{
"answer": "<p>Some inline <code>code</code></p>",
"feedback": "<p>That is not correct.</p>",
},
{
"answer": "<p>Some <em>italics</em></p>
<p>A second answer paragraph.</p>",
"<p><code> code in </code> code tags</p>",
"feedback": null,
},
{
"answer": "<p><code> code in </code> code tags</p>",
"feedback": null,
},
],
"solution": 3,
"text": "<p>Question line 1</p>