Discuss Scratch
- Cyoce
-
Scratcher
500+ posts
Inline Scratchblocks!
The Suggestion
It would be awesome if we could get inline scratchblocks code. I think this is self explanatory, but I will elaborate for clarity's sake. What I mean By inline scratchblocks code is the following:
How It Would Work
The syntax (way to tell the forums to put inline code) could be done in a few ways.
First, it could simply be:
Where the scratch code would only take up one line of scratch blocks, and the tag is not on a new line. However, this could break some old posts. So how about a new way of designating Scratch Blocks?
Another alternative would be how StackOverflow does it, with the grave accent ( ` ) surrounding the code, i.e.
Or, as a combination, the tags [sb] or [blocks] could represent any Scratch Blocks code, but if written in one line, would be displayed as inline. This would:
Example:
Tell me what you think!
8 Supporters
It would be awesome if we could get inline scratchblocks code. I think this is self explanatory, but I will elaborate for clarity's sake. What I mean By inline scratchblocks code is the following:
You can move your sprite using the move (10) steps block!Now, pretend that the orange text is scratchblocks code, like this:
move (10) stepsBut on the same line as the rest of the quote.
How It Would Work
The syntax (way to tell the forums to put inline code) could be done in a few ways.
First, it could simply be:
plaintext [scratchblocks] scratch code [/scratchblocks] more plaintext
Another alternative would be how StackOverflow does it, with the grave accent ( ` ) surrounding the code, i.e.
plaintext `scratch code ` more plaintext
- Make the Scratchblocks tag shorter
- Not break old posts
- Allow for inline Scratch code
Example:
Plaintext [blocks]inline Scratch code[/blocks] More plaintext
Plaintext
[blocks]
Old-style (not inline) Scratch code
[/blocks]
More plaintext
8 Supporters
- Doodle-cats
- stickfiregames
- CatsUnited
- theonlygusti
- MathlyCat
- DaSpudLord
- Scratcher1002
- Meep5010
Last edited by Cyoce (May 15, 2016 21:42:44)
- Doodle-cats
-
Scratcher
500+ posts
Inline Scratchblocks!
Support! It's kind of annoying to ALWAYS put them in columns.
- theonlygusti
-
Scratcher
1000+ posts
Inline Scratchblocks!
Support.
I'd like backticks to be reserved for online code though,
I think should be used for scratchblocks.
I'd like backticks to be reserved for online code though,
I think should be used for scratchblocks.
- stickfiregames
-
Scratcher
1000+ posts
Inline Scratchblocks!
Support.
I'd like backticks to be reserved for online code though,
I think [sb] should be used for scratchblocks.
How about [scratchblocks=inline]?
I would just suggest making it automatically inline when the tags were inline, but that would mess up old posts.
- theonlygusti
-
Scratcher
1000+ posts
Inline Scratchblocks!
How about [scratchblocks=inline]?
I would just suggest making it automatically inline when the tags were inline, but that would mess up old posts.
I think the entire scratchblocks tag should be shortened, and it should auto-inline.
- Cyoce
-
Scratcher
500+ posts
Inline Scratchblocks!
I think the entire scratchblocks tag should be shortened, and it should auto-inline.So basically, you support something like the grave-accent solution?
normal text, `code` more normal textAlternatively,
[blocks]code[/blocks]or
[sb]code[/sb]would shorten the normal tag, and allow for unchanged normal posts.
Last edited by Cyoce (March 21, 2015 03:57:27)
- stickfiregames
-
Scratcher
1000+ posts
Inline Scratchblocks!
Support for [sb] or [blocks], it's more consistent with the other tags (and [blocks] was on the old forum as well)
- DaSpudLord
-
Scratcher
1000+ posts
Inline Scratchblocks!
Bump, and support for changing them to [sb] tags. (The old tag is really long…)
- Scratcher1002
-
Scratcher
1000+ posts
Inline Scratchblocks!
Bump, and support for changing them to [sb] tags. (The old tag is really long…)I agree, it should be shorter. Support for ^^
Support for [sb] or [blocks], it's more consistent with the other tags (and [blocks] was on the old forum as well)That ^^
And that ^^Support.
I'd like backticks to be reserved for online code though,
I think [sb] should be used for scratchblocks.
How about [scratchblocks=inline]?
I would just suggest making it automatically inline when the tags were inline, but that would mess up old posts.
xd
- Meep5010
-
Scratcher
100+ posts
Inline Scratchblocks!
if that would be optional then 100% support. if forced 50% support.
- DaSpudLord
-
Scratcher
1000+ posts
Inline Scratchblocks!
if that would be optional then 100% support. if forced 50% support.It is optional, you would just put a return before adding the scratchblocks tag.
- mybearworld
-
Scratcher
1000+ posts
Inline Scratchblocks!
I [scratchblocks=inline]support::operators[/scratchblocks] this. While it obviously looks better, it is also incredibly easy to implement. All you need is an easy CSS rule: .blocks{display:inline-block;}
That's it.

That's it.

- MistaLOD
-
Scratcher
100+ posts
Inline Scratchblocks!
How is this not a thing already? Bump and Support!
- Knightbot63
-
Scratcher
1000+ posts
Inline Scratchblocks!
How is this not a thing already? Bump and Support!Why do you support?
- cookieclickerer33
-
Scratcher
1000+ posts
Inline Scratchblocks!
Bump bc of dupe
I’m so sad too it was my best ever topic
I’m so sad too it was my best ever topic