Judging by https://github.com/npm/marky-markdown/pull/435 something is done on NPM to allow setting the subdirectory of the markdown file, so that relative image URLs resolve properly. How can I make use of this when using marky-markdown as a library?
Judging by https://github.com/npm/marky-markdown/pull/435 something is done on NPM to allow setting the subdirectory of the markdown file, so that relative image URLs resolve properly. How can I make use of this when using marky-markdown as a library?
I tried doing:
But that has no effect.