How to format code with blogengine.net

by Jeff 19. May 2009 07:54

Formatting code with blogengine.net is easy and is done using [code] command inside your posts. [code] starts a section and [/code] ends a section. When starting a code section a language needs to be specified by adding :c# or :js to the code start section.

You will have pretty and well formatted code blocks without changing the html inside your post using the [code] command.

Example code

A code section will look like this without the minus signs.

[-code:js]

Var test = Document.getElementById(“test”);

[/code]

 

Bookmark and Share

Tags:

BlogEngine.net

Comments

7/10/2009 2:14:31 AM #

Internet Marketing Company

I was just thinking about format code with blogengine.net and you've really helped out. Thanks!

Internet Marketing Company's last blog post.. A feed could not be found at http://www.search-value.com

Internet Marketing Company India

Comments are closed

Powered by BlogEngine.NET

Code Research Center

©2009 CodeResearchCenter.com. All Rights Reserved

About Me

I'm a 30 year old browser based software developer who has just started to research the various ways to make money online. My current interests are software development, online marketing, social networking and blogging.

Disclaimer

These postings are provided "AS IS" with no warranties, use at your own risk

Page List

Poll

What blog platform do you use?



Show Results