convert spec to markdown