haroldtreen / epub-press-clients

📦 Clients for building books with EpubPress.
https://epub.press
GNU General Public License v3.0
592 stars 75 forks source link

Generate table of content from headings #36

Open quanengineering opened 5 years ago

quanengineering commented 5 years ago

Hi,

I think it would be easier to navigate when reading long articles if we could generate full table content for an article from its headings.

I wonder if we could implement that feature. Thank you.

haroldtreen commented 5 years ago

Hmmmm... that's an interesting idea! Would likely involve parsing all the articles for header tags. A lot of sites don't use proper markup - so the effectiveness of this might also be hit or miss.

Something worth thinking about in the future. It would be a backend change which is at https://www.github.com/haroldtreen/epub-press .