When will wordpress add code tags?

  • Unknown's avatar

    I run a linux related blog and in most of my posts I use cli (command line interface) commands.

    But they always get reformatted.

    example:

    sleep 8h && mpc play 153

    gets reformatted as

    sleep 8h && mpc play 153

    This when you copy/paste it, the command will fail.

    I tried using sourcecode tags in the past, but they still require the user to click the “view plain” for it to actually work.

    Is wordpress planning on adding something like [code]xxx[/code], where in between those tags, the text wouldn’t be reformatted.

    They could make a lot of people happy by it.

    Or is there a way to get in contact with one of the devs to request this (it is open source software after all)?

  • Unknown's avatar

    Edit:

    it gets reformatted like this:

    sleep 8h & amp ; & amp ; mpc play 153

    but without the spaces in between.

  • Unknown's avatar

    You can suggest it to staff by following this link “Contact Support”

  • Unknown's avatar

    Contact support isn’t the same as getting in contact with a dev, but it should do.

    But then, are the support people talking to the devs?

    Are are they the same? I doubt it.

  • Unknown's avatar

    In this case, support is the devs.

  • Unknown's avatar

    Mark is not a developer, but the staff at WP is incredibly small. I think they can fit in one van. Contacting Support is the best way to get this on the To Do list.

  • The topic ‘When will wordpress add code tags?’ is closed to new replies.