I've recently created a webpage with some Java source code, neatly organized within blocks. However, I'm looking to enhance its appearance so it truly looks like Java code. Take a look at my page's code here for reference:
Are there any online libraries or JS plugins that can beautify code? https://i.stack.imgur.com/t8Pa5.jpg
<body>
<div class="container">
<div class="col-xs-12 col-sm-9">
<div class="row">
<h2>Heading</h2>
<p>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
<pre><code>
import java.util.Scanner;
public class CalTest {
public static void main(String args[]) {
int a, b;
float c;
System.out.println("Enter the First No: ");
Scanner sc = new Scanner(System.in);
a = sc.nextInt();
System.out.println("Enter the Second No: ");
b = sc.nextInt();
c = a + b;
System.out.println("Total =" + c);
}
}
</code></pre>
</div>
</div>