On any community "public wall" page, now you can post code snippet for social learning/sharing.
There is now a new button (blue arrow below) added next to the existing emoji button .

By clicking this button, a light gray area will be inserted to your editor, like this:

You can write code inside this gray box: (any text inside will be treated as code.)
For example, if you write the following text, it will display as inserted code:

Once you publish your post, the inserted code will be auto highlighted. It will look like this on public wall:

Notice that if the inserted code has more than 5 lines, it will show the first 5 lines by default, and the rest will be folded. You can click the "Click to Expand" button to view the whole code snippet. At most, only 20 lines of code may be inserted into each public wall post.
This feature is intended for publishing formatted code to ask coding-related questions to peers and mentors, or to creatively collaborate on personal projects as groups within communities of learners. Please respect your community, and don't share your coding solutions to challenges on the wall with this function. Behaviors such as these can result in "muting" of individual accounts, or not being able to post to a community's public wall.
Happy Coding!