Published pages fail to render Latex content

オープン
#1,534 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
latex
領域
documentation

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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!)
主要言語
言語のデータがありません
スター
29
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

logseq/db-test のほかの issue

logseq/db-test の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。