2 Change for the Chameleon: Skin deep runs is showcased in this new series from FOX
source | link

superuser (or stackoverflow) is your friend.You can make use of the the question or answer fields on Stack Exchange sites to help out.

  • Paste your code snippet into a new question (or answer) text field.
  • Select it, and use the "code sample" button to ensure it gets formatted as code.
  • Wait a little while to let the syntax highlighting to do it's thing.
  • Copy the previewed question/answer code-block.

  • In your Google Doc, on a new line set the paragraph style to block-quote.

  • Paste the previewed code-block... that's it.
  1. Paste your code snippet into a blank text field.
  2. Select it, and use the "code sample" (the one with curly braces) button to ensure it gets formatted as code.
  3. Wait a little while to let the syntax highlighting to do its thing.
  4. Copy the previewed question/answer code-block.
  5. In your Google Doc, on a new line, set the paragraph style to block-quote.
  6. Paste the previewed code-block.
  7. That's it.

Google Docs seems to re-setreset the font for some reason, but preserves the syntax highlighting.. godGood for including code snippets into documentation.

superuser (or stackoverflow) is your friend..

  • Paste your code snippet into a new question (or answer) text field.
  • Select it, and use the "code sample" button to ensure it gets formatted as code.
  • Wait a little while to let the syntax highlighting to do it's thing.
  • Copy the previewed question/answer code-block.

  • In your Google Doc, on a new line set the paragraph style to block-quote.

  • Paste the previewed code-block... that's it.

Google Docs seems to re-set the font for some reason, but preserves the syntax highlighting.. god for including code snippets into documentation.

You can make use of the the question or answer fields on Stack Exchange sites to help out.

  1. Paste your code snippet into a blank text field.
  2. Select it, and use the "code sample" (the one with curly braces) button to ensure it gets formatted as code.
  3. Wait a little while to let the syntax highlighting to do its thing.
  4. Copy the previewed question/answer code-block.
  5. In your Google Doc, on a new line, set the paragraph style to block-quote.
  6. Paste the previewed code-block.
  7. That's it.

Google Docs seems to reset the font for some reason, but preserves the syntax highlighting. Good for including code snippets into documentation.

    Post Migrated Here from superuser.com
1
source | link

superuser (or stackoverflow) is your friend..

  • Paste your code snippet into a new question (or answer) text field.
  • Select it, and use the "code sample" button to ensure it gets formatted as code.
  • Wait a little while to let the syntax highlighting to do it's thing.
  • Copy the previewed question/answer code-block.

  • In your Google Doc, on a new line set the paragraph style to block-quote.

  • Paste the previewed code-block... that's it.

Google Docs seems to re-set the font for some reason, but preserves the syntax highlighting.. god for including code snippets into documentation.