blog/org-examples-on-github.post

33 lines
604 B
Text
Raw Normal View History

2015-01-03 02:54:37 +01:00
;;;;;
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: -->