Skip to content

Instantly share code, notes, and snippets.

@saevarb
Created September 3, 2015 13:19
Show Gist options
  • Save saevarb/5200fd3d2fa9bf20ee7b to your computer and use it in GitHub Desktop.
Save saevarb/5200fd3d2fa9bf20ee7b to your computer and use it in GitHub Desktop.
* Prolog
** Week 36
*** Exercise 1
*** Exercise 2
should become(if I run the function with point on ** Week 36)
* Exercise 1
* Exercise 2
which I would then like to export as markdown, and then add some metadata to it
for the static site generator I am using
The result should preferably look something like this
---
title: Week 36 (this is from the headline I ran it on)
date: current date
---
# Exercise 1
# Exercise 2
I realize that I will probably have to add the metadata with some fancy elisp
but if possible, I would like to use built-in stuff for the above as much as possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment