In order to upload files to my local server for future reference and training purposes, I am looking for a way to easily format SQL and C# code. I believe there must be a JavaScript library available that can meet these specific needs.
My ideal solution would integrate with ASP.NET or work in a jQuery fashion. For example, if I have a
, it would be great if I could use something like<div class="tsql">SELECT * FROM ...</div>
$('.tsql').prettify();
.
All I want is to colorize the text of an existing file (possibly inserted within a code block), and display it in a browser window. I don't need it reformatted for me, and I'm not concerned about links or references.
My search skills are lacking today, so I'm turning to Stack Overflow in hopes that someone has a solution. If you have a suggestion, please share below for others who may have a similar need.