nl_tokens: safeDelimiter tries to find a safe delimiter by appending backticks until it finally finds it .
pl_tokens: function safeDelimiter ( s , delimiter ) { if ( delimiter === undefined ) { delimiter = '```' ; } while ( s . indexOf ( delimiter ) !== - 1 ) { delimiter += '`' ; } <mask> delimiter ; }