# Markdown Headings not rendering on site

**URL:** https://discourse.gohugo.io/t/markdown-headings-not-rendering-on-site/51153
**Category:** support
**Tags:** markdown
**Created:** [August 14, 2024, 4:06pm UTC](https://discourse.gohugo.io/t/markdown-headings-not-rendering-on-site/51153 "2024-08-14T16:06:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![m-pent](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/m-pent/32/22543_2.png) [@m-pent](https://discourse.gohugo.io/u/m-pent)
#### Post date: [August 14, 2024, 4:06pm UTC](https://discourse.gohugo.io/t/markdown-headings-not-rendering-on-site/51153/1 "2024-08-14T16:06:05Z")

</div>

Hello,

I’ve been trying a few different configuration changes, after reading the various Hugo documentation on Markdown and Markdown Configuration but I am still unsure of why when checked with a Markdown validator (or even preview in my IDE or on Github) the headings within my post looks good, but on the published site, my headings look [like this](https://m-pent.github.io/cosycodes/posts/getting-started/). Plus, the rest of my markdown attributes look fine.

Link to repo: [https://github.com/m-pent/cosycodes](https://github.com/m-pent/cosycodes)

I can see where in my theme, it’s got a section on Headings that looks okay to me, and I’ve also tried adding more explicit markdown configuration within my hugo.toml (locally) - screenshot attached.

 ![Screenshot 2024-08-14 at 16.37.30](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/3X/6/9/6974432aa091bbbb1feff6de69f7f54db17c743a.png)

But being newer to working with markdown rendering and parsing, I’m not sure what is going wrong here and how to fix it? Thanks!

---

<div class="post-metadata">

### Author: ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)
#### Post date: [August 14, 2024, 4:14pm UTC](https://discourse.gohugo.io/t/markdown-headings-not-rendering-on-site/51153/2 "2024-08-14T16:14:42Z")

</div>

This is handled by your theme’s styling.

[https://github.com/joeroe/risotto/blob/main/static/css/typography.css#L42-L47](https://github.com/joeroe/risotto/blob/main/static/css/typography.css#L42-L47)

---

<div class="post-metadata">

### Author: ![m-pent](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/m-pent/32/22543_2.png) [@m-pent](https://discourse.gohugo.io/u/m-pent)
#### Post date: [August 14, 2024, 4:23pm UTC](https://discourse.gohugo.io/t/markdown-headings-not-rendering-on-site/51153/3 "2024-08-14T16:23:22Z")

</div>

Thank you! I’ll have a look. 🧐

So that’s where I was generally looking re: the Headings configuration in the theme, so I’ll have a deeper look at that file to see what changes may need to be made.
