✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Add line breaks and bold words to html.P() children element

How can I add line breaks to the children element of a html.P() component? I tried to use “\n” and html tags but that didn’t work. I can otherwise create a separate html.P() for each line but that really increases the number of outputs in my callback function. I know I can use the style argument of a html.P() component to change it to bold but that only works for the entire paragraph as far as I know?