Forum Formatting Breaks Scratchblocks

I've written this Scratchblocks code in Discuss Scratch:

[scratchblocks]
// scratchblocks in scratch:
hello! :) {how are you?:: sensing} ::#a9103f hat

([#1dfad9]I'm doing great, thanks. [#ef2010]::operators)
[/scratchblocks]

and it looks like this in the preview:

[scratchblocks]
// scratchblocks in scratch:
hello! :) {how are you?:: sensing} ::#a9103f hat


([#1dfad9]I'm doing great, thanks. [#ef2010]::operators)
[/scratchblocks]

But to write this exact thing in Snap!, you would have to write this:

[scratchblocks]
// scratchblocks in Snap*!*:
hello! :</span>) {how are you?:: sensing} ::#</span>a9103f hat
<br/>
([#</span>1dfad9]I'm doing great, thanks. [#</span>ef2010]::operators)
[/scratchblocks]

And it looks mutilated, because of the many <span> tags we have to cancel out to prevent linking a profile, hashtag, and/or emojis, as well as separating each block into a different chain with <br/>.

Since " ``` " cancels any formatting like *this* and emojis :) :smile: too, couldn't you modify the Scratchblocks code to cancel formatting?

Thank you,
- Tethrarxitet

The thing is, the snap team did not make the scratchblocks plugin, in fact, I'm not sure how much they know about discourse plugin development.

I understand that.

Isn't there documentation on how to add or edit plugins with settings like, I don't know, " Cancel Formatting"? I'm not totally sure myself, because I haven't really tampered with Discourse and how it works.

You'd expect that, but the plugin actually runs after all the formatting. We just need someone to write a brand new plugin that runs with the regular discourse formatting.

Sometimes it breaks after inserting 2 line breaks (double Enter key).

Like, one that modifies the Scratchblocks tag?

Pretty sure Michael has done some Discourse development. Not sure any of the rest of us have. But, I think we know some 12-year-olds...