summaryrefslogtreecommitdiffstats
path: root/org-examples-on-github.post
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-01-03 02:54:37 +0100
committerGravatar Tom Willemse2015-01-03 02:54:37 +0100
commitce6d2a4d3564aa48557b3ff6b13bfb41b6d01df1 (patch)
tree3c9041f6091cd04d773d26e72bd6d01179e04c76 /org-examples-on-github.post
parent586030d9702a03121e57a4326124b248732342e5 (diff)
downloadblog-ce6d2a4d3564aa48557b3ff6b13bfb41b6d01df1.tar.gz
blog-ce6d2a4d3564aa48557b3ff6b13bfb41b6d01df1.zip
Add old posts
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: -->