On 03/20/2013 01:01 PM, Adam Spiers wrote:
> Andreas Jaeger ([email protected]) wrote:
>> >Btw. to render a markdown file locally, install redcarpet as root with
>> >e.g. (or install the openSUSE rpm from the build service):
>> >gem install redcarpet
> Yep, there are several gems which can do this.  Others include:
>
>    - BlueCloth
>    - maruku
>    - kramdown
>    - BlueFeather
>
>> >and then just run redcarpet file.md > file.html
> or write a Makefile, e.g.
>
>      %.html: %.md
>       @redcarpet $< > $@
>
> and then run `make file.html'.

There are some slight differences between standard Markdown and Github 
Markdown [1], hence I recommend just using Github itself to preview to 
be sure.

[1] https://help.github.com/articles/github-flavored-markdown

Cheers,
James T.

_______________________________________________
Crowbar mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to