Thread: TOC h2: h3
View Single Post
Old 09-29-2024, 11:37 AM   #1
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
TOC h2: h3

If I have an ebook where chapter titles are

Code:
<h2>Chapter 1</h2>
<h3>Title of C1</h3>
how do I create a TOC of the form

Code:
Chapter 1: Title of C1
?

Generate TOC from headings doesn't quite do this.

I feel I'm missing something obvious.

EDIT: Is there a way to have the TOC be a bit different from the text in the heading, for example "1: Title" while in the text it's "Chapter 1: Title". Or to add a word throughout the TOC.

Last edited by foosion; 09-29-2024 at 03:04 PM.
foosion is offline   Reply With Quote