jima80525 / markplates

Tool to do templated line-based file inclusions in markdown texts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error reporting when line index is out of bounds is bad

jima80525 opened this issue · comments

When including a range of lines from a file, if the lines specified do not exist, the program raises an "IndexError: list index out of range" error. It would be better to catch this and tell the user which line in the template is incorrect.

Fixed with version 1.6