markdown: add a toolcontext attribute