code: function addAnchors(text) {
          if(text.charAt(0) != '\x02')
              text = '\x02' + text;
          if(text.charAt(text.length - 1) != '\x03')
              text = text + '\x03';
          return text;
      }
docs: JS regexes don't support \A or \Z, so we add sentinels, as Pagedown does. In this case, we add the ascii codes for start of text (STX) and end of text (ETX), an idea borrowed from: https://github.com/tanakahisateru/js-markdown-extra