hr

Place a horizontal rule around text.

View Markdown

Syntax

{{ value | hr }}{{ value | hr:before }}{{ value | hr:both }}

Usage

  • Use after (the default), before, or both to choose the rule position.
  • The filter emits --- and separates it from content with a blank line.
  • For arrays and objects, including serialized collections from another filter, string values are formatted recursively while keys and non-string values are preserved.

Examples