So you wanted to highlight your code for your blog ?
Nice looking code snippet is always important for you technical blog. For example you have below code
def manager?
role.downcase == "manager"
end
def bidder?
role.downcase == "bidder"
end
That doesn't look good at all.
Here are the pretty version of above code
def manager? role.downcase == "manager" end def bidder? role.downcase == "bidder" end
Isn't it good?
Yes it is. You can use online tool to highlight your code. http://hilite.me/ does pretty nice job.
Keep using it.
Thanks!!!
Yes it is. You can use online tool to highlight your code. http://hilite.me/ does pretty nice job.
Keep using it.
Thanks!!!
Very Nice!, I like it
ReplyDelete