yihui/knitr — Issue #50: Parse markdown report and save it to R object
Author: aL3xa
Created: 2011-12-12 03:01:05+00:00
State: open

I'm still a newbie for your package, and I'm trying to set my mind into place, since I've been working on some kind of templating engine too. Your approach, however is way different (and better) than mine, so sorry if I'm asking something trivial. AFAICS, `hooks` are very versatile, and you can _tell_ them to do all kinds of stuff with chunks. Is it possible to parse template in such way, that you can save it's contents to R objects - e.g. store each chunk/block to a list element?

P.S.
Note that I'm interested only in markdown format, it's OK if it's not Sweave/HTML compatible.