[SOLVED] Requests for Markdown information

Hello everyone I am beginner on hugo, I just started my first project I took a theme called pristine and to write the articles I do not know how do you do to say hugo such a title he is it a title H1 or H2 …
thanks for your answers :slight_smile:

If you write in markdown, the H1 (and other) title is:

# I'm an H1 title
## I'm an H2 title
### I'm an H3 title and so on

If you write in HTML the H1 (and other) title is:

<h1>I'm an H1 title</h1>
<h2>I'm an H2 title</h2>
<h3>I'm an H3 title and so on</h3>

As you probably know there are 6 Headings in total (h1, h2, h3, h4, h5, h6).

Ok thank you very much I just understood one thing a very important thing, that I did not understand at the outset is that in translating HTML in markdown, it is the thing that I did not pay attention that work with a file. md

In Hugo you can work with HTML files as well as Markdown files in your content folder. Markdown is just easier to write.

If you like to learn Hugo from the ground up I can recommend https://www.youtube.com/playlist?list=PLLAZ4kZ9dFpOnyRlyS-liKL5ReHDcj4G3 to you. Great material, easy to understand, teaches you all the basic important things about Hugo.

1 Like

Ok, thank you for the link and your explanation

Le mer. 1 août 2018 à 15:59, Leo Merkel gohugo@discoursemail.com a écrit :

1 Like


Have given this link to many friends/colleagues. Helps you learn markdown syntax in 10 minutes. HTH :smile: