Markdown implementations can do any of that, only allowing a whitelist of HTML elements (GFM), or not allowing HTML at all.