http://www.perlmonks.org?node_id=189514


in reply to Re: New code wrap options
in thread New code wrap options

Now code is wrapped in <tt class="code"> (for all combinations of wrapping settings). Let me know if that works.

Update: In-line <code> (like that -- stuff in <code> tags that doesn't include a newline) is not designated class="code". If someone wants a class designation for this, then come up with a nice, short, clear name for the class. (:

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re: New code wrap options
by blakem (Monsignor) on Aug 12, 2002 at 22:41 UTC
    Thanks tye. Setting CSS styles for tt.code instead of pre tt works with both user setting options now.

    -Blake

Re: (tye)Re: New code wrap options
by demerphq (Chancellor) on Mar 12, 2004 at 19:01 UTC

    If someone wants a class designation for this, then come up with a nice, short, clear name for the class.

    class="fragment"

    However getting short and clear at the same times seems to me to be setting the bar too high. Maybe having one without the other is preferable?


    ---
    demerphq

      First they ignore you, then they laugh at you, then they fight you, then you win.
      -- Gandhi


      Well, I'd just do "inlinecode".

      - tye        

        Yep, that was my original though as well, but it seemed too long considering your requirements. I actually thought of suggesting 'icode' but thought that wasnt sufficiently clear. 'inline' or 'inlinecode' seems good to me, as does 'fragment' still.


        ---
        demerphq

          First they ignore you, then they laugh at you, then they fight you, then you win.
          -- Gandhi