How can I get line numbers be output from css? -
i'm trying write css stylesheet use in wordpress blog, output colored background, highlighted bash code , line-numbers. i've got far -
code { background-color: #ffc0cb; list-style-type: decimal; border-radius: 5px; }
but i'm having problems getting highlighted code , line numbers.
can please?
thanks sharon.
like this
css
code ul{ list-style-type: decimal; margin:0; } code ul li { background-color: #ffc0cb; border-radius: 5px; margin:3px 0; padding:0; }
Comments
Post a Comment