Pass path and path to number mapping to the md handling code
Pass path and path to number mapping to the md handling code

So that markdown can properly look up section numbers and create correct
link targets to the headings

sbsdev/catalog