Home > Uncategorized > syntax highlight your code and paste in Word

syntax highlight your code and paste in Word

At http://planetb.ca/syntax-highlight-word you can find a nice syntax highlighter. It supports Python, HTML, Java, and several other languages. The rendered output can be copy-pasted to a Word document and it’ll look the same and remains editable in Word. Pretty cool.

It’s also useful if you want to make a screenshot of the syntax highlighted code. Here is an example:

sum

Thanks to Peter F. for the link.

Advertisements
  1. April 28, 2016 at 15:49

    Another nice site is https://tohtml.com/
    You can copy paste the highlighted code (not the html) to libreoffice and it will be formatted as well. No need of Internet Explorer

    found @ http://askubuntu.com/questions/299465/code-highlight-extension-for-libre-office-writer

  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: