In theory, yes. But not all markdown implementations support this properly.
The CommonMark spec even has an example test case! The excuses for poor implementations are pretty thin.
Not all markdown implementations are CommonMark
There's not much reason to be anything else than CommonMark + extensions.