Dmitry Shachnev

Results 181 comments of Dmitry Shachnev
trafficstars

Confirmed, though it would require serious highlighter refactoring since it only operates on individual lines currently. Original comment by: mandriver

Do you know when it started crashing? Was it after upgrade of ReText, upgrade of Qt WebEngine or some other libraries? I see there are at least 9 processes. Is...

Hi @rohan-paul! I have just merged #531 which implements the side panel directory tree. Can you please check if this is what you wanted, or something else is remaining?

Hi! ReText just inserts the `` element that loads MathJax into the page, everything else happens on JS side and is handled by the web engine. MathJax does have an...

> Any hope of modifying the mathjax plugin or the generated HTML along these lines […]? This is not what you asked for — it does not delay the page...

> Nice! I had no idea one could just throw script tags into markdown source . Yes, you can! > If I could tweak ReText to only trigger a preview...

> One work-around might be to find a way to prepare the HTML such that MathJax does not alter the vertical height of math blocks before/after rendering. But, this would...

Right, it's very complicated. Maybe using an alternative library, such as KaTeX, will be better? Can you try to replace these lines: https://github.com/retext-project/pymarkups/blob/0eef84e7910539ec7a554029934fbaa2808e4a5e/markups/markdown.py#L245-L249 With the following? ```python return """ """...

> Seems to ignore the "don't show until rendering is finished" javascript from earlier? Yes, that javascript was using MathJax API, while KaTeX is a completely different code base. >...

You mean preview, not editor, right? Try putting this on top of your Markdown files: ```html p { line-height: 1.5; } ``` You can also create a CSS file with...