anchorize

Signature
x | anchorize(style=?)

An anchor id as Go generates it; style github (default), github-ascii or blackfriday.

Arguments#

ArgumentTypeRequired
stylestringno

Details#

  • Kind: Filter, implemented by fugo.
  • Available in: every kind of template: layouts, partials, shortcodes and render hooks.
  • Output: escaped like any value, unless marked safe.

    Type to search titles, headings and text.