extract markdown