You are aware of mergMarkdownToXHTML function from the mergmarkdown library, no? When I was writing the code to format the description part of the docs (for the Dash docset stack) I was reminded by Monte (I think) of this. It works really well. James