chomp
Syntax
chomp INPUT
strings.Chomp INPUT
Useful in a pipeline to remove newlines added by other processing (e.g., markdownify
).
{{ chomp "<p>Blockhead</p>\n" }} → "<p>Blockhead</p>"
chomp INPUT
strings.Chomp INPUT
Useful in a pipeline to remove newlines added by other processing (e.g., markdownify
).
{{ chomp "<p>Blockhead</p>\n" }} → "<p>Blockhead</p>"