I'm trying to figure out how to convert a long document, styles as a dictionary.
I have this:
÷H1.
John.
walks,
drives,
eats,
drinks,
flies,
travels,
÷H2.
Peter.
flies,
rides,
swims,
÷H3.
James.
laughs,
cries,
I need it like this:
÷H1. John. walks,
÷H1. John. drives,
÷H1. John. eats,
÷H1. John. drinks,
÷H1. John. flies,
÷H1. John. travels,
÷H2. Peter. flies,
÷H2. Peter. rides,
÷H2. Peter. swims,
÷H3. James. laughs,
÷H3. James. cries,
Thank you! Alex