Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. Syntacs coloring also available in article comments?

Syntacs coloring also available in article comments?

Scheduled Pinned Locked Moved Site Bugs / Suggestions
question
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi! I would really appreciate if the syntax coloring that is available for articles would be available for messages, too. i.e. I would like to use

    to apply syntax coloring to a code block in a message.
    Would be really nice to have :P

    Thanks for this great site

    Leo

    D C 2 Replies Last reply
    0
    • L Lost User

      Hi! I would really appreciate if the syntax coloring that is available for articles would be available for messages, too. i.e. I would like to use

      to apply syntax coloring to a code block in a message.
      Would be really nice to have :P

      Thanks for this great site

      Leo

      D Offline
      D Offline
      David Wulff
      wrote on last edited by
      #2

      I don't know why you got voted a 1, but I agree with you. Incidentally, CP devs, the <pre> in the parent message was interpretted literally on the reply page. I doubt this is intended.


      David Wulff The Royal Woofle Museum

      Everybody is entitled to my opinion

      M 1 Reply Last reply
      0
      • L Lost User

        Hi! I would really appreciate if the syntax coloring that is available for articles would be available for messages, too. i.e. I would like to use

        to apply syntax coloring to a code block in a message.
        Would be really nice to have :P

        Thanks for this great site

        Leo

        C Offline
        C Offline
        Chris Maunder
        wrote on last edited by
        #3

        Excellent idea. Adn look - you've spotted a bug. Nice. cheers, Chris Maunder

        1 Reply Last reply
        0
        • D David Wulff

          I don't know why you got voted a 1, but I agree with you. Incidentally, CP devs, the <pre> in the parent message was interpretted literally on the reply page. I doubt this is intended.


          David Wulff The Royal Woofle Museum

          Everybody is entitled to my opinion

          M Offline
          M Offline
          Michael P Butler
          wrote on last edited by
          #4

          David Wulff wrote: I don't know why you got voted a 1, but I agree with you. That was me. My attempt at adding my reply was beaten by one of the usual CP gliches. I worry that by adding syntax highlighting, we'll end up with more code dump questions. When posting faulty code, I believe the poster should only post what is necessary for demonstrating the error. This really should only be a small snippet and I don't see how syntax highlighting would be of benefit beyond eye-candy. Michael CP Blog [^]

          L 1 Reply Last reply
          0
          • M Michael P Butler

            David Wulff wrote: I don't know why you got voted a 1, but I agree with you. That was me. My attempt at adding my reply was beaten by one of the usual CP gliches. I worry that by adding syntax highlighting, we'll end up with more code dump questions. When posting faulty code, I believe the poster should only post what is necessary for demonstrating the error. This really should only be a small snippet and I don't see how syntax highlighting would be of benefit beyond eye-candy. Michael CP Blog [^]

            L Offline
            L Offline
            leoloewe
            wrote on last edited by
            #5

            Well I agree to that point - also because CP would get even slower than now if every comment is parsed and syntax-colored.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups