added markdown processing, refs issue #306