Line break show in st.markdown and st.write

In the st.markdown function, line breaks require two newline characters (\n\n ).

Using a single newline (\n ) or carriage return and newline (\r\n ) does not create a line break.

Is this an intentional design choice rather than a bug?

It is conforming to the spec.

https://github.github.com/gfm/#soft-line-breaks

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.