Using a Markdown ViewEngine with Nancy
Whilst using stackoverflow.com and Github gists I’ve become a frequent user of Markdown.
For those of you that don’t know what Markdown is, its essentially a shorter/cleaner syntax that can be parsed to produce HTML. Below are a few examples:
1 2 3 4 5 | #Hello World! ##You’re awesome! The quick brown fox jumped over the lazy coder What the **hell** is this? This is an [example link](http://example.com/) |
1 2 3 4 5 | <h1>Hello World!</h1> <h2>You’re awesome!</h2> <p>The quick brown fox jumped over the lazy coder</p> What the <strong>hell</strong> is this? This is an <a href="http://example.com/"> example link</a> |
You can see more examples in the earlier link.
When you’re writing a blog post or a lengthy page in your web app with lots of HTML it maybe easier to [...Read More...]
