Thread: Code Formatter
View Single Post
Old 12-15-2024, 10:33 AM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,860
Karma: 6120478
Join Date: Nov 2009
Device: many
Of course you can easily create your own code prettifier in python if these are not flexible or suitable. Be careful of which tags you can compress space in and which you can not to be 100% safe.

Just check out the routines we added in our sigil_bs4 code and extract and change them as desired.

Last edited by KevinH; 12-15-2024 at 10:38 AM.
KevinH is offline   Reply With Quote