Google Doc's markdown mode support is limited, especially because you can't just paste a giant pile of markdown into Google Docs and have it convert properly as if you'd typed the exact same thing, but people should be aware it exists. After turning it on, I can type, eg "# heading1", and it'll convert into its version of an <h1>.