Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NunjucksBuiltInFilters

Built-in Nunjucks filters.

Hierarchy

  • NunjucksBuiltInFilters

Index

Constructors

Methods

  • await(func: Function, callback: Function): Promise<void>
  • Awaits an async function. Usage: {{asyncFunction()|await}}

    Parameters

    • func: Function

      The async function to await.

    • callback: Function

      The callback invoked by async Nunjucks filters.

    Returns Promise<void>

  • formatBytes(value: number): string
  • markdown(value: string): string
  • relative(value: string | Document): string

Generated using TypeDoc