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

demo

css

 code ul{ list-style-type: decimal; margin:0;  } code ul li { background-color: #ffc0cb; border-radius: 5px; margin:3px 0; padding:0; } 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -