src/markdown/to_markdown.js
// has special meaning only at the start of the line.
has special meaning only at the start of the line.
has special meaning only at the start of the line .
esc(str, startOfLine) {
    str = str.replace(/[`*\\~+\[\]]/g, "\\$&")
    if (startOfLine) str = str.replace(/^[:#-]/, "\\$&")
    return str
  }
esc ( str , startOfLine ) { str = str . replace ( / [`*\\~+\[\]] / g , "\\$&" ) if ( startOfLine ) str = str . replace ( / ^[:#-] / , "\\$&" ) return str }
has special meaning only at the start of the line.
has special meaning only at the start of the line .