Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add F# syntax highlight in blog

Tags:

f#

I use blogger and I install a windows live writer, I don't know how to insert F# code.

I installed several code highlighter, none of which support ocaml or f#.

like image 782
Yin Zhu Avatar asked Mar 26 '10 15:03

Yin Zhu


2 Answers

I now use VSPaste, a plugin for WLW, which can 'paste from Visual Studio' and copies the VS colors.

like image 135
Brian Avatar answered Oct 12 '22 21:10

Brian


Get a better syntax highlighter. Alternatively, store your code in Github Gists and embed on your blog. That way, any code that Github can highlight, you can highlight.

[BTW, the tool you use to write your blog has nothing to do with your syntax highlighting woes.]

like image 44
Jonathan Sterling Avatar answered Oct 12 '22 21:10

Jonathan Sterling