32 lines
604 B
Text
32 lines
604 B
Text
;;;;;
|
|
title: Org examples on github
|
|
tags: github, org-mode, emacs
|
|
date: 2013-01-20 14:09
|
|
format: md
|
|
;;;;;
|
|
|
|
[github](http://github.com) has an org-mode parser for their README
|
|
files, but I always thought it didn't handle `#+BEGIN_SRC` and
|
|
`#+BEGIN_EXAMPLE` style blocks. And I'm not wrong, but it does handle
|
|
`:` blocks.
|
|
|
|
So this won't work:
|
|
|
|
```
|
|
#+BEGIN_EXAMPLE
|
|
This is an example
|
|
#+END_EXAMPLE
|
|
```
|
|
|
|
But this will:
|
|
|
|
```
|
|
: This is an example
|
|
```
|
|
|
|
That was a nice surprise for me, because I prefer org-mode for almost
|
|
all of my documents.
|
|
|
|
<!-- Local Variables: -->
|
|
<!-- mode: markdown -->
|
|
<!-- End: -->
|