tests mise en page

This commit is contained in:
sarahgarcin1 2026-03-08 11:09:35 +01:00
parent 581d60f883
commit bc350af540
52 changed files with 961 additions and 72 deletions

View file

@ -1,7 +1,7 @@
// -------------- M A R G I N N O T E S S C R I P T -----------------
let classNotes = "margin-note"; // ← Change the CLASS of the notes here
let notesFloat = "left"; // ← Change the POSITION of the notes here
let notesFloat = "inside"; // ← Change the POSITION of the notes here
class marginNotes extends Paged.Handler {
constructor(chunker, polisher, caller) {
@ -97,16 +97,9 @@ class marginNotes extends Paged.Handler {
counter-increment: callNote_' + toCamelClassNote(classNotes) + ';\
}\
\
.note-call_' + classNotes + '::after {\
content: counter(callNote_' + toCamelClassNote(classNotes) + ');\
}\
\
.note-marker_' + classNotes + ' {\
counter-increment: markerNote_' + toCamelClassNote(classNotes) + ';\
}\
.note-marker_' + classNotes + '::before {\
content: counter(markerNote_' + toCamelClassNote(classNotes) + ') "";\
}\
' + notePosition
);