add some comments

This commit is contained in:
Víctor Losada Hernández committed 2026-03-29 00:20:15 +01:00
1 parent 2dda9c9804
commit 9d2ff401fd
4 files changed
+6 -19

No files matched your search

@@ -1,7 +1,7 @@
import { foldService, codeFolding } from '@codemirror/language';
const pageFoldExtension = [
foldService.of((state, lineStart)=>{
foldService.of((state, lineStart)=>{ //tells where to fold
const doc = state.doc;
const matcher = /^(?=\\page(?:break)?(?: *{[^\n{}]*})?$)/m;