google-apps-scriptgoogle-docsgoogle-formsgoogle-form-quiz

How to add code snippets in Google Form questions


I want to make a quiz for students regarding basic programming using Google Forms. The challenge is that I can not find any Add On how add code snippets to the questions, like it is here in Stack Overflow, pressing Ctrl+K.


Solution

  • You can take a screenshot of the code, so that you can also get syntax highlighting, and publish it along with your question. Otherwise, link your code to other code-hosting websites such as pastebin.