commercetools-docs-kit icon indicating copy to clipboard operation
commercetools-docs-kit copied to clipboard

moodle code formatting (not a blocker, but a nice to have)

Open lukpan opened this issue 1 year ago • 1 comments

One of the nice features about the new updraded version of moodle is the ability to format code, which the previous version didn't support. It looks like this in moodle when you preview the quiz:

Screenshot 2024-05-22 at 15 05 15

However, when previewing the quiz on a local server, the formatting doesn't look as nice:

Screenshot 2024-05-22 at 15 04 38

It would be great if we could do some UI work to improve the formatting of the code examples when we deploy the quiz. Particularly with the developer based content, there are quite a lot of instances where we use code in the questions, so this will be a nice and useful improvement in the overall polish and experience.

Thank you!

lukpan avatar May 22 '24 05:05 lukpan

Hey @FFawzy, I think this became just now a bit more of a higher priority for me. I've added the new quizzes to the GraphQL module, as text only and without the code formatting, and I'm getting all kinds of interesting and creative formatting for the quiz questions. See images below. It doesn't look like this is affecting any of the previously published courses. We are hoping to go live with this learning path at the end of June, for planning purposes. 😉 Cheers.

Screenshot 2024-05-24 at 13 54 54 Screenshot 2024-05-24 at 13 55 12 Screenshot 2024-05-24 at 13 55 29 Screenshot 2024-05-24 at 13 55 49

lukpan avatar May 24 '24 04:05 lukpan