Website docs - Markdown to HTML produces abrupt line breaks #10387
Labels
created-by: Contributor
documentation
Improvements or additions to documentation
plugin: richtext-lexical
@payloadcms/richtext-lexical
prioritized
status: needs-triage
Possible bug which hasn't been reproduced yet
Documentation Issue
Line breaks in the raw Markdown files render abrupt
<br>
tags on Payload docs website.Some examples:
The GitHub Markdown preview handles these line breaks okay without rendering them.
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.
The text was updated successfully, but these errors were encountered: