Add support for code output scrolling

Open
#1,057 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
css
Domain
frontend

Research direction

Start by tracing how rendered code-cell output uses the .cell-output-stdout selector and where site, document, and code-chunk options are configured. Confirm the intended precedence across those levels, then verify that output can scroll and respect a maximum height at each supported scope.

Written by the indexing model from the issue text.

Description

enhancement html themes

It would be great to add an option to enable the output of a code chunk to be scrollable, and to be able to set the max height of the visible output. The idea would be to be able to set that at the site, document or code chunk level.

Currently, we are able to set that at the site level using the following CSS entry:

.cell-output-stdout {
  overflow-y: scroll;
  max-height: 300px;
}
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Contributor guide

Open the contributing guide

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.

More from quarto-dev/quarto-cli

All issues in quarto-dev/quarto-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.