I have at times mused that writing the internal state of pandoc to disk (yes 13th standard etc) would be the most interoperable file format
pandoc document.md --to native pandoc -f html -t native "https://news.ycombinator.com/item?id=49156750" | bat -l hs --style=plain --paging=never