github and commonmark don't require blank lines before or after fenced code blocks, so 3bmd probably shouldn't require them either.