Allows to include markdown, text, or csv files directly in your manuscript.
{{ #include chapters/one.md }}
Note that you can also use jockers:
{{ #include chapters/*.md }}
{{ #csv data/values.csv }}
You can also pass on options to change the loading or display of the table, eg:
{{ #csv data/values.csv align=lcr colsize=2:1:1 }}
Options are:
-
align
: a sequence ofl
,c
, orr
to align each column to respectively to the left, center, or right. You must provide as many flags are there are columns in the table. -
colsize
: relative size of the columns, when the table is too large and has to be displayed in full page width. You must specify one number per column, separated by:
. For example,1:3
will scale two columns to take 25% and 75% of the page width respectively. - any option described in the csv-parse documentation, passed as
key=value
.
{{ #code example.js }}
The syntax highlighting will be guessed from the file extension, you can however force the language syntax:
{{ #code example.js syntax=javascript }}
{{ #cite quotes/einstein.txt }}