I have a expressjs route where i render a product.pug file.
res.render('product', {
title: '',
message: 'Hello.\n'
+ '\n there.',
});
and now want to render these in a new line in a .pug file.Like hello in one line and there will be in another line.But it always shows in a single line
This is what i have done so far in pug/jade file to show the message in two lines
if message
.alert.alert-danger(role='alert' style='background-color:#f2dede')
p(style='color: black')
message=message
How i can show the message in 2 lines .Can i also pass css through the message in express like font-weight,color. Any help regarding this would be appreciated.