summaryrefslogtreecommitdiff
path: root/example/posts
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2016-08-18 15:20:42 -0400
committerDavid Thompson <dthompson@vistahigherlearning.com>2016-08-18 15:20:42 -0400
commita5399143011d6b8f8b571e164afeded994e44c91 (patch)
treef06f21a7fdd8291c2db7716c50239e289422170e /example/posts
parent3feed5536160e840ab58b2c19f95f08391935970 (diff)
example: Add a Markdown post.
* example/haunt.scm: Add the commonmark-reader. * example/posts/frob.md: New file.
Diffstat (limited to 'example/posts')
-rw-r--r--example/posts/frob.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/example/posts/frob.md b/example/posts/frob.md
new file mode 100644
index 0000000..5504e3f
--- /dev/null
+++ b/example/posts/frob.md
@@ -0,0 +1,20 @@
+title: Hello, Markdown!
+date: 2016-08-18 18:00
+tags: frob, markdown
+---
+
+# This is a Markdown post
+
+Markdown support is brought to you by
+[guile-commonmark](https://github.com/OrangeShark/guile-commonmark)!
+
+Code snippet:
+
+```scheme
+;; Just gonna snooze for a bit...
+((lambda (f) (f f)) (lambda (f) (f f)))
+```
+
+## Subheading
+
+You can't be a real static site generator without Markdown support!