Library to write javascript code

c#, javascript

Solution

I just found this.

http://projects.nikhilk.net/ScriptSharp

Problem

Is there a c# library that can help to write and indent Javascript code. It's because I'm writing some c# code that generated some Javascript code. Something like this : ``` js += "<script type=\"text/javascript\">\n"; js += " function()...\n"; ``` And I find that generated a lot of ugly code. So, I thought that maybe a existing library can help me doing that ?

Original source