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. <strike> tag

<strike> tag

Scheduled Pinned Locked Moved Site Bugs / Suggestions
com
6 Posts 3 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.
  • P Offline
    P Offline
    Prerak Patel
    wrote on last edited by
    #1

    I have posted a tip where in code block I had striked some text. I was fine at that time. But today I found that strike is not working in my tip's code block. I checked revisions, it shows strikes. You can check here[^]

    C 1 Reply Last reply
    0
    • P Prerak Patel

      I have posted a tip where in code block I had striked some text. I was fine at that time. But today I found that strike is not working in my tip's code block. I checked revisions, it shows strikes. You can check here[^]

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

      Strike isn't supported - not much HTML is supported in the code blocks. My question is: why do you have that text struck out?

      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

      P N 2 Replies Last reply
      0
      • C Chris Maunder

        Strike isn't supported - not much HTML is supported in the code blocks. My question is: why do you have that text struck out?

        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

        P Offline
        P Offline
        Prerak Patel
        wrote on last edited by
        #3

        No problems with that. Actually user has to replace the user name, so I struck out that part. It was working before. I was surprised to see it not working and thought to report it.

        1 Reply Last reply
        0
        • C Chris Maunder

          Strike isn't supported - not much HTML is supported in the code blocks. My question is: why do you have that text struck out?

          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #4

          I've used strike tags in my code snippets a few times. It's useful when you show some code, and then want to show how to modify the original code to do something. So you strike off the original lines that you change and show the new code below it. Also useful when showing how to change auto-generated code to do something useful.

          Regards, Nish


          My technology blog: voidnish.wordpress.com

          C 1 Reply Last reply
          0
          • N Nish Nishant

            I've used strike tags in my code snippets a few times. It's useful when you show some code, and then want to show how to modify the original code to do something. So you strike off the original lines that you change and show the new code below it. Also useful when showing how to change auto-generated code to do something useful.

            Regards, Nish


            My technology blog: voidnish.wordpress.com

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

            I've added the STRIKE tag to the list of tags that can be used in colourised code blocks.

            cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

            N 1 Reply Last reply
            0
            • C Chris Maunder

              I've added the STRIKE tag to the list of tags that can be used in colourised code blocks.

              cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

              N Offline
              N Offline
              Nish Nishant
              wrote on last edited by
              #6

              Cool, thanks for the update, Chris.

              Regards, Nish


              Are you addicted to CP? If so, check this out: The Code Project Forum Analyzer : Find out how much of a life you don't have! My technology blog: voidnish.wordpress.com

              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