Is your feature request related to a problem? Please describe.
Yes, It would be nice to have context to which file is being rendered when I am writing custom plugins for my markdown.
I am trying to process images that are in the same folder as a markdown file.
Describe the solution you'd like
Simply passing the inputPath to mdlib.render in Markdown.js
Describe alternatives you've considered
There is no easy alternate at this point.
Additional context
N/A