# File Inclusion for GitHub Markdown

**URL:** <https://metaruby.com/t/file-inclusion-for-github-markdown/1529>\
**Category:** Ruby Chat\
**Created:** [February 15, 2018, 3:19pm UTC](https://metaruby.com/t/file-inclusion-for-github-markdown/1529 "2018-02-15T15:19:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BurdetteLamar](https://metaruby.com/user_avatar/metaruby.com/burdettelamar/32/758_2.png) [@BurdetteLamar](https://metaruby.com/u/BurdetteLamar)\
**Post date:** [February 15, 2018, 3:19pm UTC](https://metaruby.com/t/file-inclusion-for-github-markdown/1529/1 "2018-02-15T15:19:25Z")

</div>

I have made public my GitHub repository [MarkdownHelper](https://github.com/BurdetteLamar/MarkdownHelper#markdownhelper).

The first feature is file inclusion for GitHub markdown, supporting included text as:

- Highlighted code block.
- Plain code block.
- Verbatim text.

Comments _very_ welcome.

---

<div class="post-metadata">

**Author:** ![chrisalley](https://metaruby.com/user_avatar/metaruby.com/chrisalley/32/1045_2.png) [@chrisalley](https://metaruby.com/u/chrisalley)\
**Post date:** [February 16, 2018, 8:24am UTC](https://metaruby.com/t/file-inclusion-for-github-markdown/1529/2 "2018-02-16T08:24:44Z")

</div>

You might want to look at iA’s existing spec for Content Blocks which has a similar objective:

> **[GitHub - iainc/Markdown-Content-Blocks: File transclusion syntax for Markdown.](https://github.com/iainc/Markdown-Content-Blocks)**
>
> File transclusion syntax for Markdown.

See also:

> **[Transclusion or including sub-documents for reuse](https://talk.commonmark.org/t/transclusion-or-including-sub-documents-for-reuse/270)**
>
> Coming from Foswiki, and now working on Docker documentation in markdown, I stongly miss having built in transclusion. If there’s any chance something basic can be included in Standrd Markdown - ala...

---

<div class="post-metadata">

**Author:** ![BurdetteLamar](https://metaruby.com/user_avatar/metaruby.com/burdettelamar/32/758_2.png) [@BurdetteLamar](https://metaruby.com/u/BurdetteLamar)\
**Post date:** [February 16, 2018, 1:54pm UTC](https://metaruby.com/t/file-inclusion-for-github-markdown/1529/3 "2018-02-16T13:54:49Z")

</div>

Interesting. Thanks, Chris.
