Skip to content

[Feature request] Including only certain headings in the ToC #347

@OverSamu

Description

@OverSamu

In #345 I showed how I added "Chapter X" before the actual headings, however now I would like to exclude them from the ToC, but I want to include a decorative heading (i.e. the acknowledgements heading, which should not be part of the actual numbering).

.doctype {paged}
.doclang {english}
.noautopagebreak 

.css 
    h1 {
        --qd-heading-label-suffix: "any string" --important;
    }

#! Acknowledgments

.tableofcontents includeunnumbered:{yes}

#! Chapter 1
# Introduction
Image

What about a .heading function, which accepts more parameters than can be expressed in the # form?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions