07-17-2014, 09:33 AM | #1 | |||
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
How do I override colour when writing a recipe?
Quote:
I've tried something like Quote:
Quote:
Last edited by Steven630; 07-17-2014 at 09:53 AM. |
|||
07-17-2014, 10:22 AM | #2 |
Addict
Posts: 245
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Cybook Diva
|
I think you can use extra_css to override span { color }. Maybe. (I never had to use recipes, so this is only a shot in the dark)
|
Advert | |
|
07-17-2014, 11:02 AM | #3 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
remove_attributes = ['style']
|
07-17-2014, 11:39 AM | #4 |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
|
07-17-2014, 11:41 AM | #5 |
Groupie
Posts: 154
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
|
Advert | |
|
07-17-2014, 12:03 PM | #6 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then you need to implement the postprocess_html function in your recipe filter the style attributes in that.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Override 'calibre' as converted feed's author in modified recipe | sk365 | Recipes | 8 | 09-30-2016 03:11 AM |
Help me writing this recipe | korederoma | Recipes | 2 | 04-17-2012 03:05 PM |
Recipe Request for "Daily Writing Tips" | Loosheesh | Recipes | 3 | 12-01-2011 06:01 AM |
Help with writing recipe | kiklop74 | Calibre | 2 | 12-05-2008 01:54 PM |
Problems writing recipe | kiklop74 | Calibre | 9 | 10-28-2008 06:58 PM |