Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 733
David Robbins Avatar asked Nov 30 '09 15:11

David Robbins


People also ask

Which stylesheet is recommended and why?

The external stylesheet is the best option. If you have all your styles in the external stylesheet then it makes it so easy to change things. Say you wanted to change the font used. With an external stylesheet you just change it in one spot and all the pages are changed!

What are the 3 types of CSS style sheets?

There are three types of CSS which are given below: Inline CSS. Internal or Embedded CSS. External CSS.

Which is the recommended place to put CSS code?

A CSS property and value is still set, but instead of being placed inside a style attribute, it is placed inside brackets and defined by a CSS selector. This rule set is then wrapped in <style></style> tags and found in the head section of the HTML file.

Which three 3 ways can CSS formatting be applied?

CSS can be applied to HTML or XHTML using three methods: linked, embedded, and inline.


1 Answers

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

like image 87
Neil N Avatar answered Sep 20 '22 23:09

Neil N