When having a code block after a list, no matter how many new lines, the code block is rendered inside the list. Even if you have a list, after that a title, after that a code block. In this last case, both, title and code block are rendered inside the list.
I also tested with Mmark (also built in to Hugo) and then all three examples works as they should. So my suggestion is to switch to Mmark, I believe itās better maintained.
Thanks for the reply, but this is not a option for me. Iām looking for a static site generator that use something that properly render markdown .md files and default syntax and the content files a wide compatible with other tools. Since there is no global setup for this, Iām moving on my actual project to another static site generator.
Speed is good as long it properly render the content.
My opinion on this: its ugly, I donāt use shortcodes for a reason, mix stuff that is not content to content. If I need to use shortcode, I do not use.
Iām going to play with 11ty today and see how it goes. The sad part, is that I only notice it after developed a theme for hugo and made the setup CI / CD on gitlab.
While the Blackfriday dependency sucks, the workarounds are not bad (thereās a glimmer of hope that Hugo will switch to the commonmark Go library at some point).
Speed!
Static binary (I donāt need Ruby, node.js, etc. dependencies)
Apart from Markdown parsing, there are many things that make up a static site generator and Hugo is great in all those areas⦠few I can think of: the bundle system, resources, data files, theme inheritance, etc.
Could you elaborate a bit on this? Or provide a link to discussion on this topic?
I am very curious about the reasoning for not using shortcodes. Thanks!
Oops. You abstracted that part too, which is awesome. Sorry for the sloppy feedback, @zwbetz, and thank you for sharing; Iāll likely be using this sooner rather than laterš