WordPress.org

Ready to get started?Download WordPress

Forums

the trouble with "code" (7 posts)

  1. dss
    Member
    Posted 9 years ago #

    i've been having a dreary time trying to post actual code within the tags.
    everything seems to get parsed.
    so i started to use the ascii long hand for the less than < and greater than > symbols and now it seems i am able to finally post code which doesn't parse, and prints fine.
    there is a code filter plugin which is meant to do this automatically, but i had serious formatting errors after enabling it.
    so if anyone else was losing sleep (and hair) over their code tag formatting, there's your solution.
    wheew...
    f.

  2. Root
    Member
    Posted 9 years ago #

    Are you familiar with the awesome WordPress Encoder Widget ?

  3. DianeV
    Member
    Posted 9 years ago #

    Wonderful tool!

  4. dss
    Member
    Posted 9 years ago #

    amazing...
    thank you.
    f.

  5. ElasticDog
    Member
    Posted 9 years ago #

    Depending on how much code you're actually looking to put in your entries, you might also want to take a look at a plugin I wrote called Code Viewer which will load larger code from external files and display it automatically.
    The Encoder Widget is awesome for shorter stuff or inline code though!

  6. dss
    Member
    Posted 9 years ago #

    wow, that's a great solution too.
    thank you!
    ps. your site is siiick! well done.
    f.

  7. MathiasBynens
    Member
    Posted 9 years ago #

    I'm afraid the widget doesn't work anymore... I just get the same page (an empty form) returned after submitting my data.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.