Reasons to Learn Markdown
readwriteweb.com
readwriteweb.com
If you are looking for a Markdown editor for the Mac, check out Mou.
Disclaimer - I am in no way affiliated with the tool or it's developer. Just a happy user :)
Markdown Pro (www.markdownpro.com - 6 dollars) is another great markdown editor for mac that has more features.
It isn't free, but its design is phenomenal.
Edit: Just noticed Mou won't be free after beta. Will be interesting to see how the prices compare.
I like that it's a true wysiwyg editor in that you actually edit rich text instead of typing the markdown syntax.
[1]: http://en.wikipedia.org/wiki/Textile_%28markup_language%29
Textile uses easy to read syntax, but line prefixes like 'h1.' leak the HTML intentions to the reader. That's not to say textile doesn't have it's uses though. Textile solves problems that Markdown doesn't even address, even in its extended forms. For example, Textile allows you to apply span tags (with class name) using Textile syntax. Markdown requires you to write actual HTML.
I was using vim's default syntax highlighter for Markdown and ran into highlighting issues with unclosed single quotes.
Since a lot of Markdown files use .md instead of .markdown, I'd also suggest adding the file `~/.vim/ftplugin/modula2.vim` containing:
setlocal filetype=mkdWhich, when actually practiced, is the biggest advantage raw HTML offers over anything WYSIWYG. Except with Markdown I don't even have to write out the HTML, and that practice of only caring about content (and addressing presentation later using styling rules) is naturally enforced by the beautifully limited syntax Markdown offers.
We need to be a bit better at this, but starting off with saying
"# Chapter" makes a new chapter
"## Section" starts a new section
this is italic and this is bold.
[this is a link](http://example.com)
gets you 90% of what you need to write a book, and the other 10% is not much harder.
Edit your code block over at the left margin as you would normally edit any code. Then do a block insert of 4 spaces down the left side of your code block. That's how I do it.
line of code
line of code
indented line of code
line of code
In vim, after editing your code like you usually would: Go to the front of the top line,
Ctrl-V to enter visual block mode (Ctrl-Q on windows),
jjj to the bottom line,
I (capital I) to insert at the front,
space space space space,
escape.
I did exactly that to create the above two blocks. Capital V
jjjjj
>
Or 6>>~~~
// your code // goes here // and here
~~~
```python
from functools import partial
def foo(a,b,i):
if i >= a and i <= b:
return i**2
else:
return 0
print reduce(lambda x,y: x+y,map(partial(foo,3,7),xrange(1,10)))
```37signals used to do this with Basecamp. I would bet $100 that if they asked their customers, their customers would overwhelmingly say that they prefer the WYSIWYG editor that is now in Basecamp instead of the old way.
Make things easier for your users. Repeat.
While StackOverflow and GitHub users may be tech-savvy, Reddit has a lot of casual users. Markdown is not difficult to pick up, it merely codifies how people type anyway.
Other advantages of using Markdown locally is to separate data from content, legibility, and standard support. Using Pandoc, you can convert Markdown files into HTML, PDF, manpages, etc.
This is a tech community so almost everyone here is likely comfortable with learning new things. The rest of the world isn't like that.
Most people don't like learning new things, particularly if it's not going to really make a difference in their lives in a dramatic way. They are familiar with Word or Gmail.
Think of it this way: let's say bought a new car tomorrow. With this new car, instead just sticking in the gas nossel and filling gas, you had to say a few magic words, stick the nossel in, fill gas and then say a few magic words.
The magic words might be simple and even make sense. Like "adding gas" and "done adding gas". But they are just extra steps. Moving parts. Things that could go wrong. Easily.
I'm saying this primarily because I've used markdown in the past and almost always without fail, I get emails and phone calls about how something isn't working the way it should be and invariably it's one character off from what they intended.
For this particular customer, maybe the WYSwhatever is a little easier, but not substantially - I personally prefer the old Basecamp overall.