I'm an emac / LISP newbie.
I haven't really dug into it yet, but is it possible to take an org file.. take a series of 1st level or 2nd level headlines and generate .md (or .org) files based on its content?
i.e. in `somecollection.org`
* item1
# updated sometimes yesterday
sometext
** item1 subheading
somemore text
* item2
something about item2
Then take that, and make item1.md, item2.md with the contents of `item1.md` looking like:
# item1
Some text
## item1 subheading
somemore text
and `item2.md`:
# item2
something about item2
My premise: I want to maintain some collection of data in a single file and publish it into another format for sharing/distribution. With comment blocks ignored and not shared.
It doesn't have to be exactly like I described, if there's a reliable package that does something like this already.