Pasting html code to display as code in Performancing posts

Until we come up with a better solution, you can convert your code using the following form:

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


  1. Raj Dash says:

    Ryan: why do we need this? I have no trouble with pasting HTML into my posts.

  2. Brett Bumeter says:

    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?

  3. Ryan Caldwell says:

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

  4. Brett Bumeter says:

    I’m always looking for this type of thing and always losing the link . . .

  5. Raj Dash says:

    I haven’t tried it, but ... should work.

  6. blogosquare says:

    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.

  7. Ryan Caldwell says:

    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>

Speak Your Mind