Usage
To apply the filter, use the following option with pandoc:
$ pandoc --filter pandoc-codeblock-include
Explanation
In the attributes of a CodeBlock element, you can specify an file
to be included and the start and end lines using attributes:
includefor the path of the included filestartFromfor the first line to includeendAtfor the last line to include
Example
Demonstration: Using pandoc-codeblock-include-sample.txt as input gives output file in pdf (use lorem content).