Published pages fail to render Latex content

Aperta
#1,534 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
latex
Ambito
documentation

Direzione di ricerca

The bug is that LaTeX math in pages renders in the desktop app but shows raw output such as ["Inline" "x = x"] on published pages. The payload names no files, so start by finding where published pages are rendered and how inline and block math nodes are converted to HTML there. Done means $x = x$ and the display integral render on a published page as they do in the app; no test file is named.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Search first
  • I searched and no similar issues were found
What Happened?

(Self-hosted) Publishing a page that contains Latex math content, then opening the published page. All Latex content fails to render and appears as e.g. ["Inline" "x = x"].

Reproduce the Bug
  1. Create a page with Latex content like $x = x$ or $$\int_0^1 x^2 , dx = \frac{1}{3}$$
  2. Check that this renders fine in the Desktop App (as it does for me)
  3. Publish the page
  4. Check the publish page. It fails to render the Latex content.
Expected Behavior

The published page should render the Latex content exactly the same way as is done in the Desktop App.

Screenshots
image renders as image
Desktop or Mobile Platform Information

Ubuntu 26.04, Desktop APP 2.0.2

Additional Context

There seem to be similar but outdated issues on this, like https://github.com/logseq/logseq/issues/4312. As far as I can tell these describe issues with now-outdated parts of the code. I've also started looking into creating a PR for this myself.

Are you willing to submit a PR? If you know how to fix the bug.
  • I'm willing to submit a PR (Thank you!)
Lingua principale
Nessun dato sulla lingua
Stelle
29
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di logseq/db-test

Tutte le issue di logseq/db-test

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.