Callback type

TagFunction

From mothwing ยท src/config.js:81

Returns the HTML a tag turns into. A list is one line each, indented like the tag.

TagFunction(
  tag: { attrs: Record<string, string | true>; route: Route; site: Site; }
): string | string[]

Parameters

tag{ attrs: Record<string, string | true>; route: Route; site: Site; }

Returns

string | string[]