少于1分钟
将以下英文翻译为中文:
https://gohugo.io/functions/chomp/
Removes any trailing newline characters.
chomp INPUT strings.Chomp INPUT
Useful in a pipeline to remove newlines added by other processing (e.g., markdownify).
markdownify
1
{{ chomp "<p>Blockhead</p>\n" }} → "<p>Blockhead</p>"