Jump to content

Recommended Posts

Posted

What is the workaround again to get the formatting for Lua scripts correct when editing a post? Posting the script inside a 'code' tag works at first. Bu when you edit your post, you lose all formatting.

 

--testing
function Script:Start()
   self.enabled = false
end

Posted

Are you talking about all those extra html tags? If so, you get those for colored text, bold text, etc.So if you post raw text, it should show up ok. Don't know about the workaround you're talking about though.

Posted

There's a little button in the edit window that turns off the auto formatting so you are working with old school bob code. Keep that turned off when you start editing and it will retain white soace

My job is to make tools you love, with the features you want, and performance you can't live without.

  • 9 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...