Posting code, formulas, equations in blog posts

To post code snippets or formulas or equations I was finding the format loose when I save the post. I checked out any way to highlight the code or preserve the program structure to make it readable neat but I found it tough. Then, after a few trial and errors , I got a way for this. You are lucky and would not find it tough my way , if you have your own webspace. I still now had not. šŸ˜¦

Steps to post the code , program, formulas, equations without losing format structure or readability on free blog spaces is to :-

Step #1: Switch to HTML mode

Step #2: Type the < pre > and < /pre > tags.
Step #3: Copy the code or equation or whatever you would like to preserve format.
Step #4: Open, select filter tags option and paste the copied. click convert.

Step #5: Copy the converted and paste it between < pre>Ā  and </ pre> tags and switch back to visual mode in editor.
Step #6: Now , publish and Hope you have the format preserved.

Let me know your thoughts.

Other good reads at :


2 Responses to “Posting code, formulas, equations in blog posts”

  1. noksshaph Says:

    Your welcome everyone.
    My computer worked not correctly, many mistakes and buggs. Please, help me to fix errors on my PC.
    I used Windows XP.

  2. Hi.
    My computer worked slowly, too much errors. Please, help me to fix buggs on my computer.
    I used Win Vista.

Leave a Reply

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

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: