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
If you want to use a multiline string in javascript, you totally can. However note that the output won't actually display those line breaks. For example:
log("`this is a function () {\hello;\}`")
However, if you want multiple lines displayed in the code block, you can use \n. For example:
log('this is multiline code: \n`a == b \n c == d`')
Thinking the only difference is that in your regex we should allow for multiline?
It seems that log('this is a
test
') matches code fortest
butlog('this is a
function () { hello; }
)The text was updated successfully, but these errors were encountered: