Thread: epub editing
View Single Post
Old 01-10-2022, 03:32 PM   #15
lomkiri
Groupie
lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.
 
lomkiri's Avatar
 
Posts: 167
Karma: 1497966
Join Date: Jul 2021
Device: N/A
Quote:
Originally Posted by lonly View Post
2. when i generate new page TOC inline i have to add every time some extra css code like text decoration underline and line height
is that possible i can save my TOC css code in calibre editor setting and every time when i generate toc inline page that setting auto add in css ?
Snippets can do that: https://manual.calibre-ebook.com/snippets.html, paragraph "Creating your own snippets".
You save your code in a snippet, then, when needed, call it back with, e.g., toc+Ctrl-J (the part before Ctrl-J is up to you).
lomkiri is offline   Reply With Quote