I'm working on a code generation tool where the output is display in a tag and wondered if anyone knew of a CSS stylesheet that would format the output. My rendering engine is Javascript based and I'd like to continue perform all operations of rendering client side.
Can you recommend a CSS stylesheet that formats C# code? [closed]
Asked Answered
JavaScript isn't client side? Or am I not understanding your question?
you may want to look at Google Prettify, which, if I remember correctly, is what StackOverflow uses
Thanks Neil - Prettify will do the trick. –
Football
You could take a look at http://alexgorbatchev.com/wiki/SyntaxHighlighter . It is web based, open source, and uses separate CSS style sheets for formatting and highlighting. Not sure if it is exactly what you want, but maybe worth a look.
© 2022 - 2024 — McMap. All rights reserved.