![]() |
#1 | |||
Groupie
![]() Posts: 176
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. |
|||
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
|
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 | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,334
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
remove_attributes = ['style']
|
![]() |
![]() |
![]() |
#4 |
Groupie
![]() Posts: 176
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
|
![]() |
![]() |
![]() |
#5 |
Groupie
![]() Posts: 176
Karma: 10
Join Date: May 2012
Device: Kindle Paperwhite2
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,334
Karma: 27182818
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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Override 'calibre' as converted feed's author in modified recipe | sk365 | Recipes | 11 | 01-21-2025 07:07 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 |