Provides a base implementation for all code formatters.
Namespace:
CA.Common.Formatters.CodeToHtmlAssembly: CA.Common (in CA.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Remarks
To display the formatted code in a html page, the web page must refer to a stylesheet that defines the formatting for the different CSS classes generated by code formatter: .codeformat, pre, .rem, .kwrd, .str, .op, .preproc, .alt, .lnum.
Note that if you have multi-line comments in your source code (like /* ... */), the "line numbers" or "alternate line background" options will generate code that is not strictly HTML 4.01 compliant. The code will still look good with most modern browsers
Inheritance Hierarchy
System..::.Object
CA.Common.Formatters.CodeToHtml..::.SourceFormat
CA.Common.Formatters.CodeToHtml..::.CodeFormat
CA.Common.Formatters.CodeToHtml..::.HtmlFormat
CA.Common.Formatters.CodeToHtml..::.SourceFormat
CA.Common.Formatters.CodeToHtml..::.CodeFormat
CA.Common.Formatters.CodeToHtml..::.HtmlFormat