Can't override counter-increment
I'm using a counter for my titles but would like to skip some of them. I can override the adding of the number but not the incrementation of the counter :
h1 {
break-before: page;
counter-reset: h2;
counter-increment: h1;
}
h1.not-numbered {
counter-increment: none; /* the following title will still be 2 instead of just 1*/
break-before: none; /* override the break-before: page*/
}