I recently came across a website where they intricately formatted their code with line numbers and highlighting, but I couldn't find any information on how to achieve this effect. I want my code to look just like that, can anyone help me out?
Website Link:
Can someone assist me in achieving this polished code presentation?
<html>
<head> </head>
<body>
<div> This is a div </div>
<p>This is a paragraph.</p>
<span>This is a span.</p>
<ul>
<li>red</li>
<li>green</li>
<li>blue</li>
</ul>
</body>
</html>
I am aiming for the same sleek code styling with line numbers seen in the example image linked above. Can you lend a hand with replicating it? My goal is to enhance the appearance of my tutorial by displaying code snippets in a user-friendly way, similar to what was achieved using the Syntax Highlighter tool on the mentioned site.