Would it be possible to support preventing header creation without a space after #? This may make sense as a default in GFM mode?
Similar to :space_after_headers in https://github.com/vmg/redcarpet
# a header
text1
#not a header
text2
a header
text1
not a header
text2