Implement generation of the links to source

It might be useful to put some links to each block in the result, so
that it will be easier to locate the particular piece of markdown to
edit.