The codeblock render hook context includes the .Position of the current codeblock in a local Markdown file.
It would be nice to have this information also for heading and image render hooks. This would allow to include links to the source in local server mode.