Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Finding differences between the forum preview and the post result.
- Chiroyce
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
You can also escape symbols this way:Yep obviously because a backslash is mainly used for escaping
- airplanedodge
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
yep, \n is linebreak.You can also escape symbols this way:Yep obviously because a backslash is mainly used for escaping
- gosoccerboy5
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
say [\[\[hello world\]\]]backslash ftw
- CST1229
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
yep, \n is linebreak.wait you can do that? lemme test
line \n break :: eventsno you can't
- airplanedodge
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
in javascript bruhyep, \n is linebreak.wait you can do that? lemme testline \n break :: eventsno you can't
should have been clearer
Last edited by airplanedodge (July 4, 2021 17:01:39)
- gdpr5b78aa4361827f5c2a08d700
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
in javascript bruhits a standard escape sequence, so its in pretty much every good programming language that supports strings.
- CST1229
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
except scratchblocks.in javascript bruhits a standard escape sequence, so its in pretty much every good programming language that supports strings.
- Maximouse
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
scratchblocks isn't a programming language.except scratchblocks.in javascript bruhits a standard escape sequence, so its in pretty much every good programming language that supports strings.
- Raihan142857
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
Maybe \\n worksscratchblocks isn't a programming language.except scratchblocks.in javascript bruhits a standard escape sequence, so its in pretty much every good programming language that supports strings.
\\nsad
- Chiroyce
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
sadmaybe this works
say [hello \n world]
hey the \ got deleted!
- mybearworld
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
https://scratch.mit.edu/discuss/topic/614676/
Preview:
Post:
Preview:
"https://cdn.scratch.mit.edu/scratchr2/static/__9209616f20ac7fc52efa806cd216a370__//djangobb_forum/js/markitup/"
"~/"
- kccuber
-
Scratcher
1000+ posts
Finding differences between the forum preview and the post result.
move () \Something weird, probably not a difference in the non-post preview though
steps
EDIT: nope no differnce lol please disregard this post
Last edited by kccuber (June 28, 2022 16:26:55)
- ZZC12345
-
Scratcher
500+ posts
Finding differences between the forum preview and the post result.
The \ is escaping the n. Escape characters aren't shown, because they're used for escaping. For example, “\(” escapes the (, rendering as “(” instead of the start of a reporter with a backslash before it.sadmaybe this workssay [hello \n world]
hey the \ got deleted!
In JavaScript/Python/probably more languages, “a” isn't a special escape character, so the same thing works:
>>> "\a"
'a'

- nembence
-
Scratcher
500+ posts
Finding differences between the forum preview and the post result.
In the preview there is a yellow cap block with a text input with “/scratchblocks” in it
say [scratchblocks]
[/scratchblocks]
- nembence
-
Scratcher
500+ posts
Finding differences between the forum preview and the post result.
(<::ring><::ring>)//this is green in the preview
- Discussion Forums
- » Advanced Topics
-
» Finding differences between the forum preview and the post result.










