đŹđ§ / đ«đ· Need some help with WeasyPrint? Youâre in the right place to ask :)
@page no-chapter
rule
h2
tag is encounter, its content is put in a string named "heading" and we break before to have a new page https://github.com/CourtBouillon/weasyprint-samples/blob/d95ca0480c8ad1964065b89496541f7c73e5d251/report/report.css#L95-L99file://
URLs instead of /static/
URLs that are supposed to be served by the HTTP server
url_fetcher
that will translate /static/âŠ
URLs into filenames and call the original url_fetcher
with this filename
display: None
qui fait que lâĂ©lĂ©ment nâapparaĂźt plus, câest en effet un bugâŻ: Kozea/WeasyPrint#473
string-set
qui est obsolĂšte, je crois que jâai dĂ©jĂ entendu cette histoire⊠Je ne crois pas que ce soit obsolĂšte, câest toujours dans le dernier brouillon de la spĂ©cification sans mention particuliĂšre https://drafts.csswg.org/css-content-3/#string-set
hidden=True
fait trĂšs exactement la mĂȘme chose que display: none
đ https://github.com/Kozea/WeasyPrint/blob/master/weasyprint/css/html5_ua.css#L16
position: absolute; top: -1000px
ou quelque chose équivalent, ça devrait fonctionner