How do I post a unicode shrug?

This is correct.

Either escape the slash, or use the backtick before and after:

¯\_(ツ)_/¯

`¯\_(ツ)_/¯`
¯\\_(ツ)_/¯