Variable HashSymbolsWithCurlyBracesConst

HashSymbolsWithCurlyBraces: Tag = ...

Options for replacing tags using hash symbols and curly braces (#{ }#). Matches tags of the form #{variable}# in the text.

Example

// Example usage:
const text = 'Hello #{variable}#';
const result = replaceTags(text, { variable: 'world' }, HashSymbolsWithCurlyBraces);
console.log(result); // Output: 'Hello world'

Generated using TypeDoc