Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title size decrease in nested subsections without a parent title #234

Open
traut opened this issue Aug 26, 2024 · 0 comments
Open

Title size decrease in nested subsections without a parent title #234

traut opened this issue Aug 26, 2024 · 0 comments
Labels
bug Something isn't working content-provider
Milestone

Comments

@traut
Copy link
Member

traut commented Aug 26, 2024

Description

In the nested sub-sections the title gets shifted even when there is no title in the parent section. This creates gaps in title sizes, breaking formatting.

Steps to Reproduce

This template:

document "test_doc" {

  title = "AAA"

  section {
    title = "BBB"

    section {
      # No title

      section {
        title = "CCC"
      }
    }
  }
}

renders into

# AAA

## BBB

#### CCC

instead of correct

Expected Behavior

Expected gradual title descend:

# AAA

## BBB

### CCC

Actual Behavior

$ fabric --version
fabric version 0.4.2
@traut traut added bug Something isn't working content-provider labels Aug 26, 2024
@traut traut added this to the v0.5 milestone Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working content-provider
Projects
None yet
Development

No branches or pull requests

1 participant