How to allow line breaks within a Markdown table

Since there is unfortunately no standard Markdown table syntax, and the various implementations differ a lot (and are, in my experience, all pretty bad and poorly specified) I’m not sure what kind of Markdown table you mean.

If your syntax doesn’t allow newlines in tables, then you might want to just normalize them to spaces in your serializer. I don’t think you need to strip other markup for that.