Skip to content

H1 missing from table of contents #171

@Slience2015

Description

@Slience2015

Environment

  • Operating System:
  • node v21.7.3:
  • npm 10.5.0:

Description

截屏2024-05-19 09 21 09
When converting to pdf, the h1 here is always not in toc.

css:
`nav {
page-break-before: always;
background-color: #f0f0f0;
padding: 10px;
border-radius: 5px;
}

nav a {
display: block;
margin-bottom: 5px;
text-decoration: none;
color: #333;
transition: color 0.3s;
}

nav a:hover {
color: #007bff;
}

nav ul {
list-style: none;
margin: 0;
padding: 0;
}

nav ul li {
margin-left: 20px;
}

nav ul li a {
text-decoration: none;
}

nav ul li a::before {
content: "• ";
}

nav ul li a:link {
color: #000;
}

a:after {
display: none;
}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions