Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^6: Change default style sheet: add line numbers (ol li)

by Anonymous Monk
on Apr 01, 2015 at 20:09 UTC ( [id://1122195]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Change default style sheet: add line numbers (counter-increment: codeLineCounter;)
in thread Change default style sheet: add line numbers

FWIW, the same or better results could be accomplished with <li> "code prefix" but ATM  <ol> </ol> tags are missing , which would have to be added by pmdev

or via javascript ... but if you go way of javascript might as well go for full radicality of PerlMonks meets Twitter Bootstrap

Replies are listed 'Best First'.
Re^7: Change default style sheet: add line numbers (ol li)
by ww (Archbishop) on Apr 02, 2015 at 11:21 UTC

    The ordered_list tags are missing? Let's see:

    <ol><li> item one</li> <li> item two</li> </ol>

    renders...

    1. item one
    2. item two

    Really!

      The ordered_list tags are missing? Let's see:

      What are you talking about ww?

      If you use "code prefix" feature to add  <li> its not going to add  <ol> </ol> tags ... unless there is some other user setting

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1122195]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2024-04-23 12:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found