setTemplateSymbols

Sets template symbols.

Description

setTemplateSymbols (templateSymbolStart: string, templateSymbolEnd?: string): this

By default jsdocuments template variables have to be wrapped by dollar symbols ($).

The character or symbol used to wrap template variables may be:

  • The same at the beginning and the end: $VAR$, |VAR|, #VAR#...
  • Different at the beginning and the end: ${VAR}, #{VAR}, [[VAR]], «VAR»...

Code samples

Example #1

Release notes

  • jsdocuments 1.0:
    • New method