gethugothemes / parsa-hugo

Parsa is a personal blog theme powered by Hugo. It also can be used for portfolio website.
https://gethugothemes.com/products/parsa/?utm_source=parsa_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
157 stars 321 forks source link

Writing in markdown. #56

Closed Dabs-Cedric closed 2 years ago

Dabs-Cedric commented 3 years ago

I noticed that when writing a text in markdown, line breaks are almost not possible. It is only possible to make a writing block and to skip one or two lines to create another paragraph. But I found out that in the css, you just have to remove the margin on the .content to get a better presentation of the text.

phillxnet commented 2 years ago

@Dabs-Cedric You could look into Hugo's shortcodes capability. It allows for you to 'inject' some layout etc via the content files. The upstream link for this is: https://gohugo.io/content-management/shortcodes/ From that page we have:

Hugo loves Markdown because of its simple content format, but there are times when Markdown falls short.

Hope that helps.

tfsomrat commented 2 years ago

Hello @Dabs-Cedric

I have added the functionality to insert line-break as <br>. you can download the latest version and try it. thank you

Dabs-Cedric commented 2 years ago

Ok, thanks.