fabiocolacio / Marker

🖊 A gtk3 markdown editor
GNU General Public License v3.0
836 stars 75 forks source link

Broken math rendering #295

Closed Esokrates closed 4 years ago

Esokrates commented 4 years ago

I downloaded the tarball of the latest release, built it and installed it. Math rendering is broken, when typing $x^2$ the preview just shows

\(x^2<span id="cursor_pos"></span>\)

Hope that you could fix this and make a new release and push it to Flathub (which is still stuck at the 2018 release).

Esokrates commented 4 years ago

@Mandarancio Flathub version is uptodate now but version displayed is wrong due to the app data file containing the wrong version numer: https://github.com/fabiocolacio/Marker/blob/master/data/com.github.fabiocolacio.marker.appdata.xml#L60 see discussion here: https://github.com/flathub/com.github.fabiocolacio.marker/issues/21

Reproduced the broken math rendering now also using the flathub version.

Esokrates commented 4 years ago

Just noticed, that this only affects documents that are not stored to disk. If you create a new document and write math it does not get rendered. As soon as you store it to disk rendering math works.