Trunk User GuideTrunk User Guide PiazzaHow do I insert code in a Piazza post?

How do I insert code in a Piazza post?

All users can insert computer code in a Piazza post by using the built-in <pre> tag.

Go to Piazza.

Go to Piazza.

Go to the Piazza Text Editor (Either by clicking "New Post" or clicking "Edit" on an existing post).

Go to the Piazza Text Editor (Either by clicking &quot;New Post&quot; or clicking &quot;Edit&quot; on an existing post).

This displays the Piazza Text Editor.

Click  Code.

Click  Code.

This creates a code box in the Text Editor.

Paste your code in the code box, then click Post.

Paste your code in the code box, then click Post.

The code is encased in a <pre> tag separating it from other text.

Example of a Piazza post with computer code.

Example of a Piazza post with computer code.

Note:  Other users can edit this code.