amyreese / markdown-pp

Preprocessor for Markdown files to generate a table of contents and other documentation needs
MIT License
309 stars 68 forks source link

Enhancement of the include directive #51

Open ottawaguy81 opened 6 years ago

ottawaguy81 commented 6 years ago

Can the include directive search set of paths provided via an environment variable. This will make things lot easier. Current design constrains the location of the include files.

I suggest : export MARKDOWN_INCLUDE_PATH =x/y/z markdown-pp -o

I am not familiar with python, I don't know where to modify the code. I find the markdown-pp very handy. However it is limiting me in the auto generation of master markdown file from multiple small files due to the need for relative directory location.

amyreese commented 6 years ago

Happy to see this added, but will need someone else to contribute the changes.