View Single Post
Old 12-21-2020, 07:14 AM   #155
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,463
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by capink View Post
Thanks for your answer. It more like number 2 (similar request here, but covers multiple scenarios). It is not a lot of work to do, but I thought If similar code exists in calibre and is easily re-usable it would be a better quality than writing it myself. According to your first bullet point, it is not re-usable so I will write it myself.
I added the ability to pass the globals dict into the template editor/tester. If you give it your dict then the user can see actual results while writing the template. The change is in calibre source.
chaley is offline   Reply With Quote