Syntax Highlighting Outside Your Editor

by Anthony Colangelo

7 Reader Comments

Back to the Post
  1. Yeah… I just copy and paste from PHP Storm and it keeps my text highlighting.
    I guess other JetBrains IDEs do that too if you work in Python/Ruby/Java

    Copy & paste the code below to embed this comment.
  2. It looks like you have not stumbled into ExportHTML.

    Copy & paste the code below to embed this comment.
  3. In Komodo Edit 8 (free) you just need to export it to html by using:
    File > Print > Print to html file
    Once in html you can open it with your browser and copy paste it to textedit for example.

    Another alternative is to use highlightjs

    Copy & paste the code below to embed this comment.
  4. @BlueScreenJunky didn’t work for me, but made me install this plugin and now it works like described by you :)

    Copy & paste the code below to embed this comment.
  5. You can do the same with Panic’s Coda by selecting the code and choosing “Copy with Styles”.

    Copy & paste the code below to embed this comment.
  6. Using highlight gives the flexibility when you use editors like SublimeText, TextMate or even Vim (my preferred choice). However, to augment this process, it can be turned into an Alfred app workflow, so you wouldn’t even need to visit the terminal. :-)

    Copy & paste the code below to embed this comment.
  7. For anything to put into the blogs or website, i use a open source online tool as detailed in this link Syntax Highlight Generator

    Copy & paste the code below to embed this comment.