Adding three or four slashes doesn’t seem to do the trick.
Using indentation to create a block doesn’t seem to do the trick.
The issue exists irrespective of block or inline code, syntax highlighting or not.
I tried to fix the bug, i thought it was a problem with the highlighting, but is a markdown bug, as @sam says, they will use a new engine for Discourse, you will have to wait till then.