how to include code with line numbers

Hi, I would like to include some code with automatically generated line numbers so in later text as I type (before finally posting) I can refer to the line numbers. I looked at the help of </> option from which I understand that with all default options (which is all unchecked), I should expect the line numbers after I insert code but I don't see any line numbers. Thanks.

With default options:

        for (i = 0; i < 3; i++)
        {
            *dstEnd-- = *srcEnd--;
        }

With light box checked and everything else default:

        for (i = 0; i < 3; i++)
        {
            *dstEnd-- = *srcEnd--;
        }

  • In reply to Piyush_:

    I agree, that would be useful but unfortunately is not currently available in the editor.  The current code insertion is provided by a plugin called SyntaxHighlighter.

    Bill Traynor
    E2E SysAdmin/DevOps

Related