logseq / logseq/db-test

DB graph: LaTeX-only block reference renders as empty [[ ]]

Open
#1,137 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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

A reference to a block whose entire content is display LaTeX is not visible in a DB graph. The source block renders correctly, but the reference displays only an empty [[ ]] chip.

Reproduce the Bug
  1. Create a local DB graph.
  2. Add a block containing only display LaTeX, for example:
    $$ x^2 + y^2 = z^2 $$
    
  3. Create a reference to that block using the current DB-graph [[…]] reference picker.
  4. Observe the result.
Expected Behavior

The referenced block should show and render the LaTeX, the same way the source block does.

Screenshots

No attachment. Visually, the source formula renders while its referenced block appears only as an empty [[ ]] chip.

Files

No files required. This is reproducible in a new, empty local DB graph.

Browser, Desktop or Mobile Platform Information

macOS 26.6.2; Logseq Desktop 2.0.1.

Additional Context

Related closed report: #687.

That issue was closed as stale with a request to reopen if reproducible on a current 2.0/nightly build. I can reproduce it on 2.0.1, but do not have permission to reopen the original issue.

Are you willing to submit a PR? If you know how to fix the bug.
  • I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Reproduce the issue in a new local DB graph using a block containing only $$ x^2 + y^2 = z^2 $$, then trace the DB-graph reference rendering path and compare it with the source-block renderer. Done means the referenced block displays and renders the LaTeX instead of showing an empty [[ ]] chip.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
databases, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.