How to make script textbox in topics?

Ok so, I just ranked up in DevForum recently and just kept on checking posts, and I always notice developers or the post creators make a script textbox like this:


I often see them in posts and I wonder how I can do that

6 Likes

Its fairly easy, all you have to do is put ``` before and after the block of text.

Like this:

[example text]

If you want the textblock to pick up and highlight lua elements, then make sure to do add the word “lua” after the " ``` " at the beginning. You don’t need to add it at the end.

local example = script.Parent

local function example1()
 print(example!)
end)
4 Likes

a lil Unrelated but, to help you out, you can use https://devforum.roblox.com/t/developer-forum-formatting-guide/456083 to help you on formatting, has everything to guide you on formatting on devforums, such as scripting text boxes.

3 Likes

Thanks so much :smiley: , Have a good day/night

3 Likes
Local test = script.Parent

To test do

Test

1 Like