Skip to content
Christophe Demko edited this page Jan 6, 2018 · 2 revisions

Explanation

In the attributes of a CodeBlock element, you can specify an file to be included and the start and end lines using attributes:

  • include for the path of the included file
  • startFrom for the first line to include
  • endAt for the last line to include

Example

Demonstration: Using pandoc-codeblock-include-sample.txt as input gives output file in pdf (use lorem content).

Clone this wiki locally