I use Sigil to modify my epub files (and I don't own a Kindle
)
Code:
<h3 title="Chapter 1">1</h3>
Sigil builds the Nested TOC off of "H" tags. This 'trick' also works when the chapter title is an <img ... tag (the 'alt' value does not appear in the TOC )