Quote:
Originally Posted by porphyry5
I think the controlling factor is any line of text that does NOT end with a period, or other sentence ender, will generate a bolded chapter title line on a fresh page and an entry in the auto-generated TOC
I know the above is true for lines consisting only of a number, or the word Chapter or Part followed by a single word or a number.
If the last character of such a line is a period it is treated as any other sentence in the text.
|
That's more to do with the markdown-to-HTML step (if applicable) of the conversion.
The xpath sees an h1 tag.