Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I started to write a HTML renderer in C# just as a learning exercise. I managed to get the simple stuff like bold and headers going. In doing so I bumped into a number of problems and I hoping I could have a look at how other people got around those problems.
You can try http://htmlrenderer.codeplex.com/ . This is a library of 100% managed code that draws beautifully formatted HTML.
http://khaos.codeplex.com/ is a project on codeplex. they trying to create wpf-based rendrer.
I forked https://github.com/LayoutFarm/HtmlRenderer from the original
Html-Renderer project, and added more HTML5, CSS3, and JavaScript. It is under development, and has bugs; test it out, and feel free to comment, fork, discuss.
snapshot: nearly pass ACID1
compare with ACID1 reference on wikipedia
(from https://en.wikipedia.org/wiki/Acid1)
The short answer is 'no'. Have a look at Chris Cavanagh’s blog entry on how he embedded the Chrome HTML renderer into his WPF application. You will probably have to do something similar
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
In Linux there're many tools to read and convert the comments in code into a HTML/PDF document. I am now working on a .Net project, and I am wondering if we have similar tools to convert the comments in .Net code into a HTML/PDF document?
I tried Google, but did not give me any useful result :( Maybe I am not search with the right keywords.
You might want to look at Sandcastle: http://broadcast.oreilly.com/2010/09/build-html-documentation-for-y.html
Sandcastle is a tool that generates HTML / Visual Studio help bundles based on your code comments and actual code itself.
It's relatively easy to use once you get it set up.
But beware! Big projects can cause OutOfMemoryExceptions.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I want to represent the chemical structure drawing in my windows application. I found some softwares are available in the market like "BKChem","Metlab","ChemDraw","SMILE (Simplified molecular input line entry specification)","BioChemDraw". but unfortunately i am unable to found any of above's plug in/API's with dot net please let me know. this is very high priority for me for now.
First of all, I'm not at all a .net expert
In the field of chemical structure conversion and drawing, OpenBabel is really the broadest. Unfortunately for you, I only used it from command line, never through API.
BUT, there is a C# API for OpenBabel documented here. And it seams that it can output SVG which is an open drawing standard.
We have written a C# tool for this:
http://chem4word.codeplex.com/
It has been developed over several years and works inside .NET and MS-WORD.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am wondering if anyone knows of an open source c# library for beautifying javascript. I would like to make use of such a library within my asp net website to make debugging messy javascript easier.
There are currently many online websites for this (ie. http://jsbeautifier.org/) however I would like to have access to such a utility within c#, even if it is just a wrapper for communicating with an online API.
You can use jsbeautifylib.
http://jsbeautifylib.codeplex.com/
It's the file/folder you found :)
Also there is a C# port of js-beautify by Denis Ivanov here
And in the simplest of form, there is JSBeautify.cs
The site you pointed out suggests a command line tool. Wouldn't it be enough for you?
To beautify from the command-line you
can use provided beautify-cl.js
script, using Rhino javascript engine.
See the file contents for the details.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Is there a free code to html syntax highlighter written in C#? I am looking for something I can host in an .net mvc app
New answer
These days I just use highlightjs which works perfectly well with C#.
Old answer
While I haven't open-sourced it yet, you'd be welcome to the formatter I use for the C# in Depth web site. Give it a try, and let me know if you'd like to use it. (This is no longer available.)
If you can access a command line tool, you can get pygments (it is python), but just pipe the output back into your app.
http://pygments.org/
It's has a multitude of output formats.
I wrote a C# syntax highlighter using regex and a mini "state machine" (a few if statements) here, it could be adapted for C, C++ and Java fairly easily. It produces the inline styles by default and a pre tag.
The source is there in C#.
(Cross pollination answer)
ColorCode-Universal, which used to power syntax highlighting in Codeplex, works pretty well.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for open source applications, built with winforms in C#. Specifically, i'm looking for applications using new and real world techniques. Like nerddinner and oxite for asp.net.
Thanks
SharpDevelop is an excellent example IMO
Another one was Paint.net, but it's no longer open source, see comments.
Look to codeplex, SourceForge and Code Google. There is lot of applications :)
Next resource is CodeProject.
Paint.Net is nice example.
Here is source code.
NUnit is a good "real world" open source application...
http://sourceforge.net/projects/nunit/