Code block indent, easy way?

Hi,

I tried to indent a big doofer code block, and failed. Is there a way to 4-spaces-indent a selection of text? Also is there a tag like “spoiler” in the old forum, for big code blocks?

The forum uses standard markdown: https://commonmark.org/help as core formatting, with additional support for the basic bbcode tags: https://en.wikipedia.org/wiki/BBCode. Most basic html tags such as <a> and <div> are supported as well.


For spoilers you can use the [details] bbcode:

[details="Summary"]
This text will be hidden
[/details]
Summary

This text will be hidden


For code block spoilers:

[details="Summary Block"]
[code]
This code block will be hidden (3 backticks would work here too)
[/code]
[/details]
Summary Code Block
This code block will be hidden (3 backticks would work here too)
2 Likes