summaryrefslogtreecommitdiffstats
path: root/org-examples-on-github.post
diff options
context:
space:
mode:
Diffstat (limited to 'org-examples-on-github.post')
-rw-r--r--org-examples-on-github.post32
1 files changed, 32 insertions, 0 deletions
diff --git a/org-examples-on-github.post b/org-examples-on-github.post
new file mode 100644
index 0000000..68c77c0
--- /dev/null
+++ b/org-examples-on-github.post
@@ -0,0 +1,32 @@
+;;;;;
+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: -->