I’m trying to add a terminal code snippet in a post here (Step 6). This is what I want to add it there: But when I post it, it appears like this: sudo killcat /var/run/mysqld/mysqld.pid. BBPress won’t escape the ` character. Tried using two backward slashes too. Any ideas?
After experimenting with <code> and <pre>, I don’t think it’s easy to escape it. I settled with using the HTML entity for the ` grave accent. Here you go! sudo kill `cat /var/run/mysqld/mysqld.pid`. Use <code> tags to wrap it instead of ` `.