word2013 code blocks for how to insert code coloring?

Source: Internet
Author: User
As below, word 2013, how to insert this background is black, the code is also shaded code blocks (such as C, C + +, Java language, etc.), I feel this code block very good-looking, it is important to be able to edit, non-image format, the most recent documents to use.

Reply content:

Write in VS and copy it over. Divine Site Recommended welcome! -pygments
1. Enter the code description, select a language, select a local file or paste the code directly, and click the Hilight button in the lower right corner.
2. Select the color scheme and click Go. 2. Select the color scheme and click Go.

3. Copy to Word.
4. Call it off . 4. Call it off. How to drain beautiful code in Word sorry the name of the site does not remember, Google syntax highlight in Microsoft word try. This website can output the highlight code of various languages, and can be pasted into word with formatting. notepad++ has a plug-in called Nppexport, you can copy the code format to the Clipboard, output to the RTF file, output to the HTML file, paste into Word there is no problem in fact very simple, you just go to apply for a blog channel-csdn.net Blog, then paste your own code up, save the draft, and then preview yourself, as follows

And then copy it to Word, that's pretty code.

Then, if you want to copy the code, it might have a serial number, which you can do with a powerful sublime.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.