alphagov/whitehall — pull request #14 by bradleywright (2012-07-18 12:24:35+00:00)
Title: Inline attachments in editions and supporting pages

This adds the ability to add attachments to editions and supporting pages "inline", i.e in the context of the document. It works like inline images via a `!@$n` syntax, where `$n` is the 1-indexed attachment.

This is engineered to extend GovSpeak within the Whitehall project rather than as an enhancement to core GovSpeak as our data models are a bit bespoke.

The commits are slightly messy as I've merged twice now, which makes rebasing to clean up a bit hairy. I'll do better next time.

https://www.pivotaltracker.com/story/show/32239353