How to include HTML code in HUGO?

Good morning:
On a markdown coded page with the “book” theme - I included html code,

<a href="" style="
text-align: center;
font-size: larger;
-moz-border-radius: 1em;
border-radius: 1em;
border: 1px solid #00A2E8;
background-color: white;
color: #00A2E8;
padding: 2px 1em;
">Descargar manual de usuario sin conexión</a>

But on the resulting page I see the following instead:

<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->

How to make this HTML code included in it’s position?

Did you search the forum? I’d guess that this question has been asked and answered already, may be here: Hugo 0.60.0 Raw HTML omitted Issue

Unrelated: Including verbatim style attributes in HTML is not a very good idea, in my opinion. You’d want consistently styled elements, which you can achieve better with external CSS.


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.