CodeConnect / SourceBrowser

C# in. HTML out.
http://sourcebrowser.io
MIT License
91 stars 22 forks source link

Show README at first page. #94

Closed JoshVarty closed 9 years ago

JoshVarty commented 9 years ago

I think it'd be nice if we had the GitHub README displayed on the first page. We have access to it in the Git Repo, we'd just need to figure out how to display Markdown.

AmadeusW commented 9 years ago

:+1:

AmadeusW commented 9 years ago

I propose that UploadController.Submit calls UploadRepository.ProcessReadme which turns the markdown file from GithubStaging to HTML and puts it in _SBFiles. LookupFolder.cshtml will be responsible for rendering that HTML (if it exists)

We can use https://www.nuget.org/packages/MarkdownDeep.NET/ which is said to be 15x faster than MarkdownSharp which is 10x faster than Markdown.NET.

Thoughts?