ludovicchabant/PieCrust — pull request #28 by midnightmonster (2012-06-18 23:07:18+00:00)
Title: allow one to specify content type for a segment and multiple segments with the same name

This patch allows one to define multiple segments with the same name (they're rendered individually and then concatted) and optionally define a different content type to use for each one. With the provided processors there won't be much call for this, but it could be useful for incorporating work from different sources that already was written in a different markdown or wiki language or (more along my lines) for defining processors for particular cool things, e.g.,

```
--
Title: Slideshow Example
--
Won't you love my slideshow?
---content:my_slideshow_dsl---
[500x300]
foo1.jpg
foo2.jpg "this has a caption"
foo3.jpg
---content---
I thought you would
```

(Note that that's not a real slideshow dsl, just an example I made up on the spot.) This could be cool if markdown-like formats exist or could be created for mathematical expressions, chart graphics, etc..