Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to add the following code sample to Google Groups:

    <script type = "text/javascript">
        var async = require("async");

How can I insert source code into Google groups like this?

share|improve this question
up vote 3 down vote accepted

Direct copy+paste will work, but if you want to make it look like code you'll have to

  • Indent the code using the indent button
  • Select the code block and change the font
  • Select the code block & apply relevant colour.

enter image description here

All these should be possible from the Web UI

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.