Support » Requests and Feedback » [FR] converting code lines

  • Hi
    Here is a feature I’d like to see added in WP : the ability to write code in news post, ie lines that would be “de-htmlized”, just like “backticks” in this forum.
    (basically, adding a nice [Code] button to the quicktags interface, which would convert <> into < > and use a monotype font)
    Thanks, Ozh

Viewing 4 replies - 1 through 4 (of 4 total)
  • I agree, but then I always use the WP encoder.
    WordPress Encoder.

    well, I had coded more or less the same thing myself, I didnt know about this stuff. But I’d like to see it implemented still 🙂
    Thanks for the url anyway

    I honestly thought this sounded really cool last night and developed a hack for it. The problem however is that several WP functions don’t like these sorts of things – specifically wpautop and balancetags.
    And I just realized the solution. 😀 I’ll look at it again when I get home.

    Any improvements on this Stevarino ? 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[FR] converting code lines’ is closed to new replies.