All text (both HTML and TXT) would internally need to be converted to flat text blocks. Some minimal formatting (headers, bold and maybe italic) should be possible. It also needs to handle furigana and images. There might be need to do a line break inside text with furigana and this will also require some thinking. Highest level text blocks also should have information about position as it's essential for calculating reading progress and resuming reading.
I already did most of this in RikaiKyun with HTML so I just need to rewrite that in C#.
All text (both HTML and TXT) would internally need to be converted to flat text blocks. Some minimal formatting (headers, bold and maybe italic) should be possible. It also needs to handle furigana and images. There might be need to do a line break inside text with furigana and this will also require some thinking. Highest level text blocks also should have information about position as it's essential for calculating reading progress and resuming reading.
I already did most of this in RikaiKyun with HTML so I just need to rewrite that in C#.