Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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

1 Answer 1

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.