How to make your code look like it looks in Vim

In vim use command :TOhtml. Then copy and paste generated html code into your post. Example:

#usr/bin/python

def some_function(a,b,d):
	return a + b + d

print (some_function(1,2,3))
Advertisements
This entry was posted in Vim and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

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