Can I post HTML/PHP/JavaScript into a message?
You can surround any code that you want to be rendered literally in <pre> or <code> tags. This will prevent the code from being interpreted by the browser. Use <pre> for multiline blocks of code. Use <code> for inline code.
That said, though, if you have a lot of complex JavaScript or PHP that you want to post, Basecamp messages might not be a good fit. Better to use a dedicated code service like GitHub and link to your code pastes from your Basecamp message.
Categories: Basecamp Classic, Messages & comments
Need more help?
- Contact our support team and we’ll get back to you within an hour (M–F, 9am–6pm CT).