/** Handle formatting. Currently supports the following special characters:
 * - `&t;` - Adds tab (2 spaces)
 */
export const docsSpecialReplace = (val) => {
  // Add any new mappings here and update function docstring
  const specialCharacters = {
    '&t;': '  '
  };
  if (val) {
    let result = val.slice();
    Object.keys(specialCharacters).forEach((char) => {
      const regex = new RegExp(char, 'g');
      result = result.replace(regex, specialCharacters[char]);
    });
    return result;
  }
};
//# sourceMappingURL=docs-playground-common.js.map
