remote_file_content

By dimitri-koenig

Using remote_file_content tag you can fetch the content of a remote file and include it as if you would put the content right into your markdown file yourself. Very useful for including code from GitHub repo’s to always have a current repo version

To install, you must copy the necessary files from the repository to your Jekyll site. Further installation instructions are available in the repository's README.

Once installed, run Jekyll like normal.

Source code