Created
December 18, 2017 22:11
-
-
Save robsonsobral/992f7ea0549177bd754b29f7671eb5ab to your computer and use it in GitHub Desktop.
hugoMarkdownBlock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ $markdown := . | markdownify }} | |
{{ if not ( strings.Contains $markdown "<p>" ) }} | |
<p>{{ $markdown }}</p> | |
{{ else }} | |
{{ $markdown }} | |
{{ end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment