Quote:
Originally Posted by ibu
You ask: Why isn't that extra class OK?
I ask: Why do you need an extra class?
About "plain text":
That does not fit my needs.
I need and want markup in books.
Headers.
Emphasized text.
Ordered lists.
Footnotes (Links).
Blockquotes.
Images.
Data tables.
...
Your post-conversion plugin:
I'm not sure, if I could use it, when the source isn't a markdown format.
Do you have please a complex example of "before" and "after" (the conversion).
I'm interested in what your plugin does 
|
I explained why the class="number" may not be an extra class but you have not answered this point; you have simply re-asserted that it is an extra class.
My plugin does almost exactly what PeterT did in post #30 of this thread, (stripping tag ids and calibre classes), but additionally applies Markdown extentions to support <span> and to allow css named styles to be applied to elements. (Standard markdown does not allow this.) It also tidies the OPF, (removing calibre specific meta data), allows additional dc: tags in the OPF, (ones not implemented by calibre), and tidies the toc.ncx. It works on ePubs after calibre conversion.