View Single Post
Old 10-20-2020, 11:06 AM   #1452
Sam Sahara
Connoisseur
Sam Sahara doesn't litterSam Sahara doesn't litterSam Sahara doesn't litter
 
Posts: 79
Karma: 228
Join Date: Aug 2014
Device: lambda k21
beautyfing html/xhtml code into the editor

Calibre's editor has a good system for improving html/xhtml code and making it more readable. But sometimes there is a need for a more sophisticated and more configurable tool.
It seems to me that the ultimate tool for tidying up html/xhtml code is "tidy".
Would it be difficult to create a plugin to use "tidy" in the calibre editor?
If not, is there any way to reorder the code of an epub with tidy?
Sam Sahara is offline   Reply With Quote