Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to import a page break from html to google docs?

I'm trying to export a document in html and import it again (for the purpose of the test I don't even edit the file). After exporting, I can see that the page break is kept in the html :

<hr style="page-break-before:always;display:none;">

But after I import this file into google docs, and do the conversion, the page break is not materialized in the document. I can only see a line where the pagebreak should be. Is there is a way to make it working ?

PS: I'm using the python gdata v3 API.

like image 897
Jeremi Avatar asked Sep 07 '25 16:09

Jeremi


1 Answers

I've also been looking for this. It seems this is as easy as adding:

<hr class="pb">

Credit: https://productforums.google.com/forum/#!topic/docs/fqLmAJkPpTs

like image 151
Jordi Avatar answered Sep 10 '25 15:09

Jordi