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

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

Closed
1 of 3 tasks
shainaraskas opened this issue Feb 3, 2025 · 6 comments · Fixed by #435
Closed
1 of 3 tasks

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

shainaraskas opened this issue Feb 3, 2025 · 6 comments · Fixed by #435
Labels

Comments

@shainaraskas
Copy link
Contributor

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
@florent-leborgne
Copy link

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 :)

@shainaraskas
Copy link
Contributor Author

related: #326

@bmorelli25 bmorelli25 marked this as a duplicate of #326 Feb 5, 2025
@bmorelli25
Copy link
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

@bmorelli25
Copy link
Member

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

* **Title with blank line then words**:
  <br>
  Words
Image Image

@bmorelli25
Copy link
Member

bmorelli25 commented Feb 6, 2025

@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

@bmorelli25
Copy link
Member

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

@Mpdreamz Mpdreamz linked a pull request Feb 6, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants