quarto-dev / quarto-dev/quarto-cli

[Appendix] Using `appendix-style: plain` does not keep header number

Open
#10,419 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

---
title: Test
format: 
  html:
    toc: true
    appendix-style: plain
    number-sections: true
---

# Executive Summary {-}

{{< lipsum 1 >}}

# Introduction

## Text

{{< lipsum 1 >}}

Let's add a footnote^[that would be in same place as appendix]

## Subtitle

{{< lipsum 1 >}}

# Appendix {.appendix}

{{< lipsum 1 >}}

## Appendix Subtitle {.appendix}

{{< lipsum 1 >}}

We could expect Appendix to be in side document but with different style than header 2, especially because of # Appendix {.appendix}

though it is not

image

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 issue with the supplied Markdown document and HTML options, then inspect the generated headings around the appendix and compare their numbering and styles. The work is done when an appendix using appendix-style: plain retains the expected appendix header number while preserving the plain style.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
documentation
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.