cagix / pandoc-lecture

Pandoc Markdown Lecture Template: This project defines a skeleton repo for creating lecture slides and handouts including lecture notes out of Pandoc Markdown (https://pandoc.org/MANUAL.html) using a single source approach.
MIT License
100 stars 18 forks source link

[Filter] allow 'include_mdfiles' to work with files in subdirs #137

Closed cagix closed 1 year ago

cagix commented 1 year ago

this changes should enable something like pandoc -L include_mdfiles.lua -t markdown subdir/leaf/readme.md.

as a side effect of this pr the double include of the start file is resolved. previously pandoc -L include_mdfiles.lua -t markdown readme.md would include readme.md because of [readme](readme.md) in line 56 in readme.md.

fixes #135 fixes #136