move css for markdow to be more general, fixes #510