Replace markdown syntax with HTML in tables