The line-numbers plugin (and all the other plugins I have checked so far) won't work.
This is due to a statement in every of them:
if (typeof self === 'undefined' || !self.Prism || !self.document) {
return;
}
which prevents anything from being registered. Further, most of them use the document and browser-only methods.
I guess the only way to make them work would be to rewrite all of them to make them work...