Fixed pre-existing bug breaking use of ReST-style syntax in Markdown when specifying a Gist ID without a file-name, added doctest to cover this case.