italic

Wrap text in Markdown italic markers.

View Markdown

Syntax

{{ value | italic }}{{ value | italic:_ }}

Usage

  • The default marker is *. Pass _ to use the alternate underscore syntax.
  • Leading and trailing whitespace stays outside inline markers.
  • For arrays and objects, including serialized collections from another filter, string values are formatted recursively while keys and non-string values are preserved.

Examples