Variable DoubleSquareBracketsWithDollarSignsConst

DoubleSquareBracketsWithDollarSigns: Tag = ...

Options for replacing tags using double square brackets with dollar signs ([[$ $]]). Matches tags of the form [[$variable$]] in the text.

Example

// Example usage:
const text = 'Hello [[$variable$]]';
const result = replaceTags(text, { variable: 'world' }, DoubleSquareBracketsWithDollarSigns);
console.log(result); // Output: 'Hello world'

Generated using TypeDoc