elkarte/Elkarte — pull request #1237 by Spuds (2014-01-11 19:58:34+00:00)
Title: Markdown Independance

In several areas of the code were emails were sent out, we had allowed the use of markdown only if the post by email function was enabled. Makes no sense to me now, and yes I'm the one who did it. So this removes that if/else stuff and simply sends out the email in a markdown format. This help maintain some of the original content/format in a plain text way (while avoiding sending it as html).

### An Original Post looks like this
This is just a test of some **bold** text and some italic _other_ text.
Some folks like to use lists so lets add one
* one
* two

Some code thats important `phpinfo();`

Check out this image
![](http://www.elkarte.net/community/themes/default/images/_light/logo_elk.png)

Email as just a link [me@me.com](mailto:me@me.com) or in a bbc email wrapper [Some Email](mailto:me@me.com)

Website address in a url tag looks like this [Some Site](http://www.someplace.com)

Quotes are good to .. like
> markdown is da bomb

### Our Current Email looks like this
This is just a test of some bold text and some italic other text.
Some folks like to use lists so lets add one
one
two

Some code thats important Code: [Select]
phpinfo();
Check out this image

Email as just a link me@me.com or in a bbc email wrapper Some Email

Website address in a url tag looks like this Some Site

Quotes are good to .. like
Quote
markdown is da bomb

### And the New Email would be (had to wrap this in a code tag for display purposes)
```
This is just a test of some **bold** text and some italic _other_ text.
Some folks like to use lists so lets add one
* one
* two

Some code thats important `phpinfo();`

Check out this image
![](http://www.elkarte.net/community/themes/default/images/_light/logo_elk.png)

Email as just a link [me@me.com](mailto:me@me.com) or in a bbc email wrapper [Some Email](mailto:me@me.com)

Website address in a url tag looks like this [Some Site](http://www.someplace.com)

Quotes are good to .. like
> markdown is da bomb
```