Welcome to mirror list, hosted at ThFree Co, Russian Federation.

markdown.html « partials « layouts - gitlab.com/mertbakir/resume-a4.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1c0988f148662d4303d970ee39f19ee4957b6a35 (plain)
1
2
3
4
5
6
{{ $markdown := . | markdownify }}
{{ if or (strings.Contains $markdown "<p>") (strings.Contains $markdown "<li>") }}
	{{ $markdown }}
{{ else }}
	<p>{{ $markdown }}</p>
{{ end }}