# Sourcing raw text from external files in posts

**URL:** <https://talk.jekyllrb.com/t/sourcing-raw-text-from-external-files-in-posts/3890>\
**Category:** Help\
**Created:** [February 5, 2020, 11:58pm UTC](https://talk.jekyllrb.com/t/sourcing-raw-text-from-external-files-in-posts/3890 "2020-02-05T23:58:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cryobry](https://avatars.discourse-cdn.com/v4/letter/c/9de053/32.png) [@cryobry](https://talk.jekyllrb.com/u/cryobry)\
**Post date:** [February 5, 2020, 11:58pm UTC](https://talk.jekyllrb.com/t/sourcing-raw-text-from-external-files-in-posts/3890/1 "2020-02-05T23:58:53Z")

</div>

I write code tutorials and always like to keep the code in my posts (code blocks) in sync with the code in my git repos. What would be the best way to include code (raw text) in my Jekyll kramdown from external files?
