Skip to content

HardBreakNode component ​

Basic Blocks

A trailing backslash (or two trailing spaces) at the end of a line renders a hard line break `<br>`.

Markdown input
First line\
Second line
Live rendered output

First line
Second line

Customize & override

Override built-in components — replace this node renderer safely with scoped overrides. Renderer & node components reference — see all exported components and their props.

Related components