Variable DoubleUnderscoresConst

DoubleUnderscores: Tag = ...

Options for replacing tags using double underscores (__ __). Matches tags of the form __variable__ in the text.

Example

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

Generated using TypeDoc