Pasting html code to display as code in Performancing posts

Posted on Posted in Coding

Until we come up with a better solution, you can convert your code using the following form:
http://www.w3clubs.com/htmlentities.php

Copy and paste the funky conversion characters, and it will appear perfectly in the post.

7 thoughts on “Pasting html code to display as code in Performancing posts

  1. I do not have any problems either. Does this have anything to do with trying to get more optimzed code? or possibly publishing coding examples without it turning into code?

  2. I’m sorry. I meant posting html code so that it will display as code and not be interpreted by the browser.

  3. You can read a detailed guide on this subject here.

    You’ll then know when and where to use such code converter and why use them? Hope this helps.

  4. So it seems that Raj was right…the drupal codefilter module handles this:

    just wrap all of your code with the following tags:

    <code>your code goes here</code>

Comments are closed.