I wrote some HTML and included class (and then tried ID) attributes to specify things like margin, font-family, etc. A CSS file contains all the "styles."
When using pandoc to convert to ePub, all the attributes get removed. How do I produce an ePub that preserves the styles I want displayed in the text?
For example, say I want the first line of a paragraph to have text-align: left and subsequent lines of that paragraph to have a text-indent (a common presentation for fiction). I prescribe these attributes via the CSS file but pandoc removes it all from the HTML on conversion.