Oftentimes, I want to include code samples in a list, for example:
- Item One
- Item Two, for example:
private bool ItemTwo() { return this.IFeelLucky; }
- Item Three
The problem is that there isn't a good and intuitive way to do this using Markdown. It's doable, but you have to do some formatting black-magic to get it that way, which is just not "nice" to deal with.
Source that produces this:
1. Item One 2. Item Two, for example: <br/><br/><pre><code>private bool ItemTwo() { return this.IFeelLucky; }</code></pre> 3. Item Three
I would love to just be able to do it this way:
1. Item One 2. Item Two, for example: private bool Test() { return this.IFeelLucky; } 3. Item Three
Which results in, well, this:
Item One
Item Two, for example:
private bool Test() { return this.IFeelLucky; }
Item Three