Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50069

Comment Rendering in Editor Window

$
0
0
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.

Viewing all articles
Browse latest Browse all 50069

Latest Images

Trending Articles



Latest Images