hugo theme from html to md file

Solutions on MaxInterview for hugo theme from html to md file by the best coders in the world

showing results for - "hugo theme from html to md file"
Agustín
31 Jun 2020
1+++```
22. You can also put HTML in a markdown file and use the .md extension.  The Blackfriday markdown standard used in HUGO allows HTML to be placed in the markdown.  It just ignores the HTML when converting the markdown, assuming that it's already ready for primetime.  In fact, you can just put HTML in a markdown file and you'll be good.
3
4**But, also consider this...**
5More static site generators are using (encouraging) markdown as the means of content entry.  This scared me at first, but after thinking about it, I concluded that using markdown actually may strengthen the quality of the content. Markdown is easy to learn and can be actually easier to read than HTML (though mileage may vary).  My point is, using markdown encourages you to concentrate more on your content, which can make a stunning difference on your site.
6
7If you do have markup and need more complex items like a YouTube vid, twitter card, etc..., you can use shortcodes. They're almost exactly like the ones used in Wordpress and Hugo comes packaged natively with a handful of them.  Check the docs, though. They are extremely simple to write and can allow you to functionally componentize your presentation tier, keeping it dry and less complicated.
8
9Hit me if you have questions, but HTML isn't a problem at all.