kiwix-js-pwa icon indicating copy to clipboard operation
kiwix-js-pwa copied to clipboard

Option to display ToC in articles

Open Inbefortus opened this issue 3 years ago • 2 comments

This would, in my opinion, provide a better initial insight into the article without having to manually invoke the ToC, so that you immediately know what the article is about.

What do you think @Jaifroid?

Inbefortus avatar May 16 '22 15:05 Inbefortus

@Inbefortus Where in the article should the ToC be (optionally) displayed? I notice that online Wikipedia has moved away from showing ToC. See the mobile view of Paris page in screenshot below: no ToC in sight, and not obvious how to show it...

image

Jaifroid avatar May 22 '22 21:05 Jaifroid

@Jaifroid I got the idea from an old ZIM file from 2007 where the ToC was still observable. I fancied it would be practical to expose the ToC exactly like in the picture below:

Screenshot_20220523-123502_Samsung Internet Beta

Or you can show the ToC between the first and second passage of text:

20220523_134359

It would certainly look quite good on larger screens, but as far as smaller screens are concerned, like those of cell phones, I don't think it would look quite so great.

Inbefortus avatar May 23 '22 12:05 Inbefortus