Technically, Markdown supports all HTML tags, including script tags.
Practically, Markdown is more of a vibe than a spec and everyone just uses whatever subset makes sense to them.