diplodoc-platform / diplodoc-platform/cli

Пропадает первый заголовок в PDF

Open
#2,034 0 comments 0 reactions 0 assignees View on GitHub
bug from_support
Dominant language
TypeScript
Stars
123
Forks
51
Avg merge
10h 50m
Merged PRs (30d)
38

Description

### Package version
CLI v5.48.1
### Node version

### Platform

### What steps will reproduce the bug?
Страница подключена как `pdf.startPages` в `toc.yaml`. Файл:

```markdown
# Титульная страница
## ПК «Энергосфера 10»
## Инсталлятор
### Руководство оператора
#### Версия: 10.0.0
```

Собрать проект и сгенерировать по нему PDF (pdf-generator 1.5.7)
### What is the expected behavior?
Заголовок `# Титульная страница` не пропадает
### What do you see instead?
`# Титульная страница` **пропадает полностью**
### Additional information

Contributor guide

Open the contributing guide

Research direction

Start with the CLI PDF-generation path and the handling of pdf.startPages in toc.yaml. Reproduce the issue with the provided Markdown heading hierarchy using pdf-generator 1.5.7, then inspect the generated PDF. Done means the first-level “Титульная страница” heading appears in the output without removing the nested headings.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, typescript
Domain
cli, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.