My Question: Is there a way in Pandoc markdown to mark inline class (or id) elements that could then be output to LaTeX and html and if so, how?
I am looking for a "one input many outputs" publication solution with needed output of LaTeX and epub, but with desired output of .docx. In LaTeX I have defined \mytag{foo}
which would correspond to <span class="myclass">foo</span>
in html for certain word level mark up. (In MSWord, Libreoffice and Adobe Indesign it is possible to set character styles for this purpose.)
The closest thing I can find to an answer is this minimalistic statement and example from the Pandoc documenation:
Headers can be assigned attributes using this syntax at the end of the line containing the header text:
{#identifier .class .class key=value key=value}