Since I haven’t found good ruby gem to parse org files (it should be a tree with metadata, but they treat it as markdown without hashes), I’ll need to write that. But I don’t want to recreate the wheel so:
I’m in desperate need to find documentation about how an org file is represented in elisp. Somehow I have hard time finding it and my paren-fu is not good for jumping into source.