View Single Post
Old 09-04-2014, 01:55 PM   #4
paipa
Member
paipa began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2013
Device: Kindle Paperwhite 2
Quote:
Originally Posted by PeterT View Post
Try adding some path. info to the file name (ie --extra-css "./custom_markdown.css" or possibly --extra-css "/the/path/where/the/file/exists/custom_markdown.css"

From the help
Thanks for the tip. Actually having taken a closer look, Calibre DID use the file, but only parts of it. The blockquote parts are italic and the bullet point lists are also unindented, both of which I defined in the CSS. But it doesn't respect the "no indent for first paragraphs after h1/h2/h3/hr" rule and neither the "no indent in blockquote" nor the "0.25em padding in blockquote paragraphs" rules.

So now we know it's a problem with processing and importing these CSS rules rather than accessing them.
paipa is offline   Reply With Quote