Alright, this is going to be a very specific request/suggestion, and I fully expect it to be rejected, and that’s fine
I am just posting it for posterity.
I’m a software engineer, and as I’m learning German, I feel the need to start reading more technical books to learn terms in my field. Of course such books have code snippets sprinkled throughout them. Currently I am reading the German version of Martin Fowler’s “Refactoring” (a really difficult read for a B1 level German learner, but thankfully Readlang makes it at least slightly more feasible). The book - an epub - has code snippets in it, that in other epub readers, render as a block of code in monospace type. As-is today, these just get rendered in the normal text font on Readlang, with all indentation lost, so when I come to a code snippet, I end up having to flip out of Readlang, read the code snippet, then come back to Readlang. Obviously, a non-ideal experience.
I have no idea how it could feasibly be done (because obviously code identifiers probably also shouldn’t count toward read word statistics and so on), but if these monospace blocks could be rendered in a way that preserves spacing and indentation and so on, that would be kinda cool. ![]()
But I also recognize the absolute insanity of this request, and the very little pay-off it would bring for most users who read normal books like Harry Potter or the Magic Treehouse series.