Skip to content

Website docs - Markdown to HTML produces abrupt line breaks #10387

Closed

Description

@bratvanov

Documentation Issue

Line breaks in the raw Markdown files render abrupt <br> tags on Payload docs website.

Some examples:

Image

The GitHub Markdown preview handles these line breaks okay without rendering them.

Image

Additional Details

My first instinct was to track down all of these line breaks in the .mdx files and simply create a PR that removes them. However, preserving the line breaks could be good for the readability of the raw Markdown.

The alternative would be to adjust the Markdown to HTML conversion on the Payload docs website to take this into account and match GitHub's rendering of line breaks.

Activity

  1. added
    area: docs
    on Jan 6, 2025
  2. changed the title [-]Payload website docs - Markdown to HTML produces abrupt line breaks[/-] [+]Website docs - Markdown to HTML produces abrupt line breaks[/+] on Jan 6, 2025
  3. added
    status: needs-triage
    on Jan 7, 2025
  4. AlessioGr commented on Jan 13, 2025

    @AlessioGr
    Member

    Fixed by #10470

  5. removed
    status: needs-triage
    on Jan 13, 2025
  6. github-actions commented on Jan 15, 2025

    @github-actions
    Contributor

    This issue has been automatically locked.
    Please open a new issue if this issue persists with any additional detail.

  7. locked as resolved and limited conversation to collaborators on Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: docscreated-by: Contributorplugin: richtext-lexicalprioritized

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions