I have a love hate relationship with Pandoc. So many amazing powerful features and so many gaps that seem obvious to fill but just arbitrarily ruled out of scope and never going to happen (example: underline!).
To be fair, underlined text is generally frowned upon as a " workaround for shortcomings in typewriter technology" [1,2].
Moreover, the underline nowadays is very tightly coupled with hyperlinks. Personally, seeing some underlined text that's not a hyperlink would really surprise me.
> “Oh come on! Everyone underlines links!” Some who don’t: the New York Times, New York magazine, the Washington Post, Bloomberg, Google, Amazon, Apple, GitHub, and Wikipedia. Even eBay, paragon of ’90s website design, has relented. Are underlined links dead? Maybe not quite. Dying? For sure.
I don't know when this paragraph was written, but right now checking the first four on that list (New York Times, New York magazine, the Washington Post, Bloomberg) all publications underline links in the bodies of their articles.
IIRC, at least in France, we're taught to underline book names when referencing them in a document. I think my teachers used to make me do that in writing as well ^^
No matter what might be added to fill in these gaps, you will always need something more. The brilliance of Pandoc is that it provides a framework for you to construct any markup language you need by writing filters. And for HTML output, you don’t even need to write a filter; you can just use ad-hoc classes and create the result you want in CSS.