quarto-dev / quarto-dev/quarto-cli

built-in search misses sub-headings; double-reports results

Open
#5,711 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Bug description

Quarto 1.3.340 on macOS

The _quarto.yml

project:
  type: website

website:
  navbar:
    left:
      - text: "home"
        file: index.qmd

The index.qmd

# alpha

Alpha is first. Consider nothing else.


## First {#First}

The first section contains the first set of properties which must appear after
`[First]` in the configuration file.

### `First`  Settings {#First.Settings}

#### `SomeFirstSettingEnabled` {#First.SomeFirstSettingEnabled}

Enable the jump start examples for onboarding. 

#### `AnotherFirstSettingName` {#First.AnotherFirstSettingName}

Indicates how Posit Connect attempts to match the R version associated with
uploaded content with the R versions available on the system.

## Second {#Second}

The second section contains the second set of properties which must appear after
`[Second]` in the configuration file.

### `Second`  Settings {#Second.Settings}

#### `SomeSecondSettingEnabled` {#Second.SomeSecondSettingEnabled}

Enable the jump start examples for onboarding. 

#### `AnotherSecondSettingName` {#Second.AnotherSecondSettingName}

Indicates how Posit Connect attempts to match the R version associated with
uploaded content with the R versions available on the system.

## Third {#Third}

The third section contains the third set of properties which must appear after
`[Third]` in the configuration file.

### `Third`  Settings {#Third.Settings}

#### `SomeThirdSettingEnabled` {#Third.SomeThirdSettingEnabled}

Enable the jump start examples for onboarding. 

#### `AnotherThirdSettingName` {#Third.AnotherThirdSettingName}

Indicates how Posit Connect attempts to match the R version associated with
uploaded content with the R versions available on the system.

## Fourth {#Fourth}

The fourth section contains the fourth set of properties which must appear after
`[Fourth]` in the configuration file.

### `Fourth`  Settings {#Fourth.Settings}

#### `SomeFourthSettingEnabled` {#Fourth.SomeFourthSettingEnabled}

Enable the jump start examples for onboarding. 

#### `AnotherFourthSettingName` {#Fourth.AnotherFourthSettingName}

Indicates how Posit Connect attempts to match the R version associated with
uploaded content with the R versions available on the system.

The "AnotherFirstSettingName" term is not found.

image

The "jump start" query repeats results.

image
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.1: OK
      Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.3.340
      Path: /Applications/RStudio.app/Contents/Resources/app/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.6
      Path: /Library/Developer/CommandLineTools/usr/bin/python3
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
      Version: 3.6.3
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/3.6/Resources/library
      knitr: 1.42.8
      rmarkdown: 2.20

[✓] Checking Knitr engine render......OK
Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Your environment

No response

Quarto check output

No response

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

Reproduce the built-in search with the provided _quarto.yml and index.qmd, using the nested headings and repeated “jump start” text from the report. Check that “AnotherFirstSettingName” is found and that repeated matches are reported only once; done means both behaviors are corrected against the supplied example.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.