Make continuelist.js addon work.

It had been depending on the list token being highlighted
with the class 'string', which it no longer is in the markdown
mode.

Updated to check the `list` property of the line's state.