HUGO
News Docs Themes Community GitHub

debug.VisualizeSpaces

Returns the given string with spaces replaced by a visible string.

Syntax

debug.VisualizeSpaces STRING

Returns

string
{{ debug.VisualizeSpaces "foo  bar" }} → foo[SPACE][SPACE]bar

Last updated: January 1, 0001
Improve this page