Hugo

Direct html formating

Hi there,

I used text formatting for a drafted website, like this:

# <span style="color:red; font-size:1.6em"> Title first line </span><br> <span style="color:black; font-size:.828em"> title second line}

But after Hugo update to the recent version, it stopped working. The formatting is ignored. Any changes in the syntax?

Thanks,
OL

It’s likely you need to set the “unsafe” option to “true” for “goldmark”, the new default Markdown handler in Hugo.

1 Like

Indeed, it solves the issue - thanks!!!