View Single Post
Old 11-22-2011, 10:13 AM   #1
Nareshkendel
Junior Member
Nareshkendel began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2011
Device: iPod touch
txt to Epub - adding classes with textile

Hi. Sorry if this has been discussed before, I couldn't find anything in the forums about it.

I'm converting a txt formated in textile to epub. I want some paragraphs to have an specific class so I can later add some css formating. According to http://www.textism.com/tools/textile/, to add a class I just have to write:
Code:
p(classname). text
and it should become this in html:
Code:
<p class="classname">text</p>
But calibre completly ignores this, it ends up with the same standard calibre# class as all paragraphs in the book.

Is there a different way to add classes to a txt?
Nareshkendel is offline   Reply With Quote