racket / racket/drracket

keybindings docs: too-narrow whitespace in output rectangles (§3.3.2)

Open
#280 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

https://github.com/racket/drracket/blob/e92617427e5343078ca6cef36a637805b104cc2b/drracket/scribblings/drracket/keybindings.scrbl#L181-L185

The ASCII-art rectangular tables look funky in the output; the right-hand-side borders don't all line up. The HTML source has the correct number of spaces in each row, so the problem is that Scribble is emitting one space character per input space character, and the browser is doing its "normal" collapsing of whitespace.

I don't know whether the best solution is to make the offending doc code emit nbsp references there, or to set .RktIn { white-space: pre } in the CSS, or something else altogether.

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

Start with drracket/scribblings/drracket/keybindings.scrbl at lines 181-185 and inspect the generated HTML and relevant CSS. Determine how the table's spaces are collapsed in browser output, then ensure the right-hand borders align consistently in the rendered documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.