quarto-dev / quarto-dev/quarto-cli

Details tag not well supported for article layout

Open
#3,983 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

articles bug
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/3813

Originally posted by howardm December 31, 2022
Hi,

I'm trying to use the following functionality in a particular portion of a web page:

<details><summary>Content to be revealed</summary>

Content that is revealed.

</details>

It works, but this screenshot shows the placement of it (truncated) in the left margin


Screen Shot 2022-12-31 at 7 54 02 PM


Is the fact that the code precedes content that includes a ::: {.panel-tabset .column-page} section the cause ?

This problem with the code doesn't occur elsewhere in the document.

Howard

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.

Research direction

Start with the linked discussion and reproduce the smallest article containing a

block before a ::: {.panel-tabset .column-page} section. Compare its placement with the same block elsewhere in the document; done means the details content is positioned correctly in the article layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.