Add setRelativePath functionality

This allows the user to set a relative path for the markdown text being interpreted