Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent ca7d1e5 commit a84d59b9137f5a70ea32c6fc2fee3aa2d10dd26e @RobertTheGrey RobertTheGrey committed Jan 12, 2013
Showing with 18 additions and 18 deletions.
  1. +18 −18 README.md
View
@@ -2,32 +2,32 @@ Spark View Engine
=================
Spark is a view engine for [ASP.NET MVC](http://www.asp.net/mvc), [FubuMVC](http://mvc.fubu-project.org/), [NancyFx](http://nancyfx.org/) and [Castle Project MonoRail](http://www.castleproject.org/projects/monorail/) frameworks. The idea is to allow the html to dominate the flow and any code to fit seamlessly.
-
- <viewdata products="IEnumerable[[Product]]"/>
- <ul if="products.Any()">
- <li each="var p in products">${p.Name}</li>
- </ul>
- <else>
- <p>No products available</p>
- </else>
-
+```html
+<viewdata products="IEnumerable[[Product]]"/>
+<ul if="products.Any()">
+ <li each="var p in products">${p.Name}</li>
+</ul>
+<else>
+ <p>No products available</p>
+</else>
+```
Although we also support "left-offset" syntax inspired by frameworks like [Jade](http://jade-lang.com/) and [Haml](http://haml.info/)
-
- viewdata products="IEnumerable[[Product]]"
- ul if="products.Any()"
- li each="var p in products"
- ${p.Name}
- else
- p |No products available
-
+```html
+viewdata products="IEnumerable[[Product]]"
+ul if="products.Any()"
+ li each="var p in products"
+ ${p.Name}
+else
+ p |No products available
+```
### Getting Started
* Firstly, check out the [documentation](https://github.com/SparkViewEngine/spark/wiki)
* Next, you can take a look at the [community resources](https://github.com/SparkViewEngine/spark/wiki/Community-Resources) we've gathered over time
### Installation
-Nuget
+It's as easy as `PM> Install-Package Spark` from (nuget)[http://nuget.org/packages/Spark] for the core
### Need Help

0 comments on commit a84d59b

Please sign in to comment.