Can you recommend a CSS stylesheet that formats C # code?

I am working on a code generation tool where the output is displayed in a tag, and wondered if anyone knows about a CSS stylesheet that will format the output. My rendering engine is based on Javascript, and I would like to continue to do all the rendering operations on the client side.

+6
code-formatting c # css
source share
2 answers

JavaScript is not a client side? Or I do not understand your question?

you can look at Google Prettify , which, if I remember correctly, uses StackOverflow

+6
source share

You can take a look at http://alexgorbatchev.com/wiki/SyntaxHighlighter . This is an open source website and uses separate CSS stylesheets for formatting and highlighting. Not sure if this is exactly what you want, but maybe worth a look.

+5
source share

All Articles