![]() |
#1 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jul 2017
Location: Austin TX USA
Device: Kindle Paperwhite Gen 11, Likebook Mars & TCL NxtPaper 11
|
Comment Rendering in Editor Window
Is there any simple way to optionally defeat the italicization of HTML comments in the Calibre editor window? HTML comments are too rarely seen, but are useful (especially in math-heavy epubs); they are typed in as, e.g.:
<!-- \left(\frac{1+e}{2}\right)^n --> I like the colorization, but the Calibre editor's italicization effectively renders backslashes ("\") as vertical bars ("|"), e.g. the above comment looks something like the following in the editor (simulated here, as the slant in the editor is much more aggressive): <!-- |left(|frac{1+e}{2}|right)^n --> I find the vertical bars obfuscate comments containing LaTeX, FWIW. BTW, I use online LaTeX to MathML converters to render math for epubs. That way, ereaders which don't have JS-support can still see the equations. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,339
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can change all highlight styles in the editor settings, including for comments.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[suggestion] Improvement toolbars comment editor | un_pogaz | Calibre | 0 | 12-05-2021 07:03 AM |
Rendering/Layout problem on Viewer and Editor | knstn | Calibre | 2 | 06-27-2018 12:21 PM |
Spell Checker window on top of Editor window | Calibre-Fan | Editor | 3 | 01-30-2016 11:48 AM |
Calibre 2.42 - Bad rendering of images in the editor | Sam Sahara | Editor | 2 | 11-02-2015 08:22 PM |
Format Mark-up in comment metada window | bigpallooka | Calibre | 8 | 11-07-2010 07:49 AM |