You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is located in marked.js which it does not insert newline character and cause the entire block to be oneline, is fixable by removing Renderer.prototype.code
though the padding is still incorrect, which result to be left of the screen
The text was updated successfully, but these errors were encountered:
messageText=messageText.split('\n').map(function(line,index){// If is the first line, then leave it as it is.console.log('line:'+line+' index:'+index);if(index<1){returnline;}// Append a number `authorLength` number of spaces before the line.returnArray(authorLength+1).join(' ')+line;}).join('\n');
Before
After
The issue is located in marked.js which it does not insert newline character and cause the entire block to be oneline, is fixable by removing Renderer.prototype.code
though the padding is still incorrect, which result to be left of the screen
The text was updated successfully, but these errors were encountered: