qtil
advanced-security/qtil-swift 0.0.3
Search

Member predicate QlFormat::Template::text

Replaces a placeholder in the form of {key} with the given text without linking it to any element.

To replace the placeholder with a link to an element, use one of the link predicates:

  • link(string key, Locatable elem, string text) will replace {key} with text and link it to elem.
  • link(string key, Locatable elem) will replace {key} with a link to elem using elem.toString().
Template text(string key, string text)