For code in lists to be interpreted _as_ code, it needs to be indented 4 spaces further to the list indentation.

 - Here's an example
 - Second item


        code->this.does(work.just_fine)

This is also noted in the [editing help][1] for advanced lists (pretty much the very last line of that).


  [1]: https://meta.stackoverflow.com/editing-help#advanced-lists