I am trying to use hugo to create a bulleted list in the post like this using markdown.
It is not generating the bulleted list. How do I get a bulleted list in the generated html?
Thanks
Hi @naveensrinivasan,
Blackfriday, the Markdown processor used by Hugo, needs a blank line between the proceeding paragraph and the start of the list.
So, this would work:
Colors:
* Red
* Green
* Blue
But this doesn't:
Colors:
* Red
* Green
* Blue
Hope this helps!
Thank you! That answered my question.
You can also add two spaces after the line, instead of inserting the blank line prior to the bullet list.
@mohae two spaces did not work for me.
test
- one
- two
- three
Most helpful comment
Hi @naveensrinivasan,
Blackfriday, the Markdown processor used by Hugo, needs a blank line between the proceeding paragraph and the start of the list.
So, this would work:
But this doesn't:
Hope this helps!