Many sites with programming lessons have specially designed boxes with code.
I'm just interested, how is it possible to make? I would make similar thing in HTML - code box(or hope it's possible with CSS or PHP). For example when I use:
<codebox title="Code:">
<line>Line 1</line>
<line>Line 2</line>
<line>Another line</line>
</codebox>
there'll appear
1
2
3
2
3
Line 1 Line 2 Another line
with numeration, of course. Can anyone help me?
1× editiert, zuletzt 10.03.13 00:09:03