luanti-org / luanti-org/contentdb

Markdown multiline code block is white on white in preview

Open
#557 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Unconfirmed Bug
Dominant language
Python
Stars
115
Forks
62
Avg merge
19h 7m
Merged PRs (30d)
5

Description

Summary

I can't read this:
2024-08-13-005456_1920x1080_scrot

Only happens on preview, I think.

My system is black on white mode.

Edit: Also happens with <details> (which is also broken in other ways).

Steps to reproduce
  • Go to some package.
  • Click on "ask a question" button, to open editor dialogue.
  • Use the tree backtick style multiline code block, and write something into it.
  • Click on preview.

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

Reproduce the problem in the package question editor by entering a multiline backtick code block and opening preview, including the reported black-on-white system mode. Start by tracing the preview styling for code blocks and the mentioned

element. Done means previewed code is readable in that mode and the existing reproduction steps no longer show white text on a white background.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.