GitHub users have for years been asking for include files in GitHub markdown pages.
I've just put up a new Ruby gem, markdown_helper, that implements include files.
A file can be included as:
- Highlighted code block.
- Plain code block.
- Verbatim text.
The gem has an API and a CLI. (For the very young, CLI <=> command-line interface.)