CodeColorizer: Free Tool to Colorize Code in HTML or RTF
This application allows you to generate HTML or RTF so you can colorize:
- C#, VB.NET, J#, Javascript, Cobol, Algol
- HTML, XML, XSLT, .Config
- T-SQL
- CSS, and many more...
All samples in this web sites are colorized using this application and I thought it could be useful for
other developers to help them colorize their code.
The following is a sample on the output generated by this application.
Things to notice is that it generates the simplest Html possible to achieve the right formatting. It colorizes in the same
place ASP.NET code, HTML, C# code, javascript code, CSS styles, and more:
<%@ Page Language="C#" %>
<script runat="Server">
void Page_Load(object sender, EventArgs e) {
Response.Write("this is C# Code");
}
</script>
<html>
<head>
<script>
function window.onload() {
alert("This is javascript");
}
</script>
<style>
MyCssClass { background-color:red; color:blue;}
</style>
</head>
<body>
<!-- This is HTML -->
</body>
</html>
Colorized by: CarlosAg.CodeColorizer