import panel as pn
text1 = pn.pane.Markdown("**Section 1**")
text2 = pn.pane.Markdown("**Section 2**")
divider = pn.pane.HTML(styles={'width': '1px', 'background-color': 'black'}, width=1, sizing_mode="stretch_height")
layout = pn.Row(text1, divider, text2)
layout.servable()
3 Likes