In edit mode I can get line numbers if I toggle a config setting of CodeMirror plugin.
In tiddler view mode in the story river reading wrapped text (on a smartphone, so the screen space is limited) becomes extremely hard. The worst offender is WikiText containing filters, because those lines tend to get quite long. I’d happily trade 1-2 chars of my limited screen space for the immense gain of not having to waste brain power to process wrapped lines (filter code especially is hard enough to understand and requires all the focus I can get).
I’d be happy with a config global setting which I could toggle in any wiki. But I’m ok to maintain a modified tiddler view template in my own wikis only if line numbers in rendered code blocks can be achieved this way and if such a template exists.