Categories
JavaScript Answers

How to add line breaks in Node Jade?

Spread the love

To add line breaks in Node Jade, we add a br element.

For instance, we write

p.
    Some text on the first line.#[br]
    Some text on the second line.

to add the br element with #[br].

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published.