Skip to content

Paragraphs nested under bullets don't get line breaks #404

Closed

Description

@shainaraskas

Describe the bug

If I nest a paragraph under a bullet, it gets inlined into the first paragraph of the bullet. same with a numbered item

Image Image
* **Consumption-based billing**: 
  
  You pay for the actual product used, regardless of the application or use case. This is different from subscription-based billing models where customers pay a flat fee restricted by usage quotas, or one-time upfront payment billing models such as those used for on-prem software licenses.

  You can purchase credits for a single or multi-year contract. Consumption is on demand, and every month we deduct from your balance based on your usage and contract terms. This allows you to seamlessly expand your usage to the full extent of your requirements and available budget, without any quotas or restrictions.

Expected behavior

A bulleted list can have bullets with multiple paragraphs in it

Steps to reproduce

put this anywhere

* **Consumption-based billing**: 
  
  You pay for the actual product used, regardless of the application or use case. This is different from subscription-based billing models where customers pay a flat fee restricted by usage quotas, or one-time upfront payment billing models such as those used for on-prem software licenses.

  You can purchase credits for a single or multi-year contract. Consumption is on demand, and every month we deduct from your balance based on your usage and contract terms. This allows you to seamlessly expand your usage to the full extent of your requirements and available budget, without any quotas or restrictions.

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Activity

  1. florent-leborgne commented on Feb 5, 2025

    @florent-leborgne
    Member

    I think those are connected to that issue so I'll report them here:

    • The same behavior happens within nested admonitions:
    Image renders as a single block instead of having a line break before the last sentence. Image
    • When nesting images and paragraphs, any other syntax than the following results in images showing inline (with text before and after). But the issue with this syntax is that it renders without vertical spacing:

    Image renders as

    Image

    While

    Image renders as

    Image

    Hope this helps to identify the issue :)

  2. shainaraskas commented on Feb 5, 2025

    @shainaraskas
    MemberAuthor

    related: #326

  3. bmorelli25 commented on Feb 6, 2025

    @bmorelli25
    Member

    I'm noticing the same behavior that @florent-leborgne points out with simple UL's:

    * **Title with words below it**:
      Words
    
    * **Title with blank line then words**:
    
      Words
    
    Image
  4. bmorelli25 commented on Feb 6, 2025

    @bmorelli25
    Member

    Using <br> for some reason adds a triple line break:

    * **Title with blank line then words**:
      <br>
      Words
    
    Image Image
  5. bmorelli25 commented on Feb 6, 2025

    @bmorelli25
    Member

    @shainaraskas, for your example, this works nicely:

    * **Consumption-based billing**:
      You pay for the actual product used, regardless of the application or use case. This is different from subscription-based billing models where customers pay a flat fee restricted by usage quotas, or one-time upfront payment billing models such as those used for on-prem software licenses.
      You can purchase credits for a single or multi-year contract. Consumption is on demand, and every month we deduct from your balance based on your usage and contract terms. This allows you to seamlessly expand your usage to the full extent of your requirements and available budget, without any quotas or restrictions.
    
    Image

    You can also add a <br> to make the line break more defined.

    Image
  6. bmorelli25 commented on Feb 6, 2025

    @bmorelli25
    Member

    It has been pointed out to me that this was already discussed in #docs-team. My b.

  7. linked a pull request that will close this issueFix lists continuations. #435on Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions